Skip to main content

Add Your OpenAPI Specification

To get started, you’ll need a valid OpenAPI document (version 3.0+) in either JSON or YAML format that follows the OpenAPI specification.

Configure Your Documentation

There are two main ways to add OpenAPI documentation: The simplest way to get started is to add an openapi field to your mint.json. This can be either:
  • A path to your OpenAPI file in your docs repo
  • A URL to a hosted OpenAPI document
Mintlify will automatically generate pages for each API endpoint.

2. Create Custom API Pages

For more customization, you can create individual MDX pages for your API endpoints:
For large APIs, you can auto-generate MDX files using our scraping tool: