You are browsing documentation for an outdated version of Kong . Go here
to browse the documentation for the latest version.
Kong Studio has auto-detection for GraphQL APIs documented through OpenAPI. To enable auto-detection your GraphQL API must be documented with the following values before generating debugging requests:
- Path must be
- Method must be
- Request body must be
application/json and must contain a property
query with the type
- Response body must be
Below you can see an example of a described GraphQL API endpoint that will trigger auto-detection with a pre-populated request body:
summary: 'My GraphQL API Endpoint'
description: 'My GraphQL API Endpoint'
description: 'Successfull Query'
Learn more about debugging with GraphQL in Insomnia’s GraphQL Documentation