Customize GraphQL API Reference layout

Control how GraphQL operations appear in the sidebar using the operation keyword in your docs.yml layout. Order operations, set custom titles and slugs, hide operations, and group them into sections.

docs.yml
1navigation:
2 - api: GraphQL API Reference
3 layout:
4 - section: Plants
5 contents:
6 - operation: QUERY getPlant
7 title: Get plant details
8 - operation: MUTATION createPlant

Learn more about customizing GraphQL layouts.