Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Docs are persisted and regenerated from the schema introspection data
Andrew Bastin22178a6c2efe
diff --git a/pages/graphql.vue b/pages/graphql.vueindex 252bb9900..233689c4a 100644--- a/pages/graphql.vue+++ b/pages/graphql.vue@@ -432,6 +432,13 @@ export default {return result === "" ? "" : `${result}`},},+ mounted() {+ if (this.$store.state.gql.schemaIntrospection && this.$store.state.gql.schema) {+ const gqlSchema = gql.buildClientSchema(JSON.parse(this.$store.state.gql.schemaIntrospection))++ this.getDocsFromSchema(gqlSchema)+ }+ },methods: {getSpecialKey: getPlatformSpecialKey,doPrettifyQuery() {