Using MDX
MDX Setup
Generate docs pages for your API endpoints using MDX
Learn how to set up API endpoints documentation using MDX and the API playground feature.
1
Configure your API
Add API configuration to your mint.json
:
To hide the API playground, use:
2
Create endpoint pages
Create MDX files for each endpoint with the following metadata:
For paths with parameters, use {parameterName}
:
3
Add to navigation
Add your endpoint pages to the navigation
field in mint.json
to display them in your sidebar.
Was this page helpful?