UNPKG

spectaql

Version:

A powerful library for autogenerating static GraphQL API documentation

45 lines (39 loc) 1.21 kB
spectaql: logoFile: ./test/fixtures/logo.png faviconFile: ./test/fixtures/favicon.png displayAllServers: true introspection: removeTrailingPeriodFromDescriptions: false schemaFile: ./examples/data/schema.gql metadataFile: ./examples/data/metadata.json dynamicExamplesProcessingModule: ./examples/customizations/examples queryNameStrategy: capitalizeFirst fieldExpansionDepth: 2 spectaqlDirective: enable: true extensions: graphqlScalarExamples: true info: title: GraphQL API Reference description: Welcome to the party! termsOfService: https://www.example.com/terms contact: name: API Support url: http://www.example.com/support email: support@example.com license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html x-introItems: - title: Important thing 1 description: Some important stuff we wanted you to know. Supports `markdown` servers: - url: https://staging.example.com/graphql description: Staging - url: https://example.com/graphql description: Production production: true headers: - name: Authorization example: Bearer <YOUR_TOKEN_HERE> comment: Your foo from bar