yarn add @graphql-codegen/introspection
pnpm add @graphql-codegen/introspection
npm install @graphql-codegen/introspection
This plugin generates a GraphQL introspection file based on your GraphQL schema.
minify
type: boolean
default: false
Set to true
in order to minify the JSON output.
generates:
introspection.json:
plugins:
- introspection
config:
minify: true
descriptions
type: boolean
default: true
Whether to include descriptions in the introspection result.
specifiedByUrl
type: boolean
default: false
Whether to include specifiedByUrl
in the introspection result.
directiveIsRepeatable
type: boolean
default: true
Whether to include isRepeatable
flag on directives.
schemaDescription
type: boolean
default: false
Whether to include description
field on schema.
federation
type: boolean
MIT
2.1.1
Apr 5th, 2022
468810