The build has no network access: remote spec URLs are ignored. Commit the spec file to the repository.
Register a spec
Any of these works:"api": { "openapi": "openapi.json" }indocs.json(string or array of paths).- An
openapifield on any navigation element (inherited by everything inside it). - Auto-detection: any file named
openapi*.json/openapi*.yml/openapi*.yamlin the repository is loaded automatically.
Declare endpoint pages
In navigation. Reference operations directly as pages:openapi source and no pages; every operation in the spec becomes a page, grouped by tag:
Page URLs
Generated pages are slugged from the operation’ssummary, matching Mintlify’s URLs (POST /sites with summary “Create a site” becomes create-a-site; without a summary, post-sites). Navigation entries like "GET /users" mount next to their spec; auto-populated sections mount under their directory (default api-reference); unclaimed operations mount at api-reference/<tag>/<summary>. Only get, post, put, patch, and delete operations generate pages.
What a generated page contains
- Method, path, and description, with an HTTP-method chip in the sidebar.
- Path, query, and header parameters with types, defaults, required flags, and enum values.
- Request-body fields with
$refs resolved. - Response schemas per status code, plus a response example (from the spec’s
example/examples, or synthesized from the schema). - A static cURL example in the right-hand rail.
- An interactive playground for sending a request and inspecting the response.
- An Authorization field when the operation or the spec declares
security.