Enable users to interact with your API
docs.json
.
We recommend generating your API playground from an OpenAPI specification. See OpenAPI Setup for more information on creating your OpenAPI document.
Add your OpenAPI specification file.
Configure `docs.json`.
docs.json
to reference your OpenAPI specification. You can add an openapi
property to any navigation element to auto-populate your docs with a page for each endpoint specified in your OpenAPI document.In this example, Mintlify will generate a page for each endpoint specified in openapi.json
and organize them under the “API reference” group in your navigation.docs.json
.
MDX
pagesMDX
pages for your endpoints. This allows you to: