All of my OpenAPI pages are completely blank
All of my OpenAPI pages are completely blank
In this scenario, it’s likely that either Mintlify cannot find your OpenAPI document,
or your OpenAPI document is invalid.Running 
mint dev locally should reveal some of these issues.To verify your OpenAPI document will pass validation:- Visit this validator
- Switch to the “Validate text” tab
- Paste in your OpenAPI document
- Click “Validate it!”

One of my OpenAPI pages is completely blank
One of my OpenAPI pages is completely blank
This is usually caused by a misspelled Notice that the path in the
openapi field in the page metadata. Make sure
the HTTP method and path match the HTTP method and path in the OpenAPI document exactly.Here’s an example of how things might go wrong:get-user.mdx
openapi.yaml
openapi field has a trailing slash, whereas the path in the OpenAPI
document does not.Another common issue is a misspelled filename. If you are specifying a particular OpenAPI document
in the openapi field, ensure the filename is correct. For example, if you have two OpenAPI
documents openapi/v1.json and openapi/v2.json, your metadata might look like this:api-reference/v1/users/get-user.mdx
Requests from the API Playground don't work
Requests from the API Playground don't work
If you have a custom domain configured, this could be an issue with your reverse proxy. By
default, requests made via the API Playground start with a
POST request to the
/_mintlify/api/request path on the docs site. If your reverse proxy is configured to only allow GET
requests, then all of these requests will fail. To fix this, configure your reverse proxy to
allow POST requests to the /_mintlify/api/request path.Alternatively, if your reverse proxy prevents you from accepting POST requests, you can configure Mintlify to send requests directly to your backend with the api.playground.proxy setting in the docs.json, as described in the settings documentation. When using this configuration, you will need to configure CORS on your server since requests will come directly from users’ browsers rather than through your proxy.OpenAPI navigation entries are not generating pages
OpenAPI navigation entries are not generating pages
Some OpenAPI operations appear in navigation but others don't
Some OpenAPI operations appear in navigation but others don't
Mixed navigation (OpenAPI and MDX pages) not working correctly
Mixed navigation (OpenAPI and MDX pages) not working correctly
OpenAPI validation errors
When runningmint openapi-check or mint dev, you may encounter validation errors that prevent your API documentation from generating correctly. This section explains common validation errors and how to fix them.
Understanding validation error messages
OpenAPI validation errors include a JSON path that shows exactly where the error occurred in your specification. The path uses forward slashes to indicate nested properties. Error format:- Path:
/shot(the endpoint path) - Method:
get(the HTTP method) - Location:
responses/200(the 200 response definition) - Issue: Missing required
$refproperty
Response schema validation errors
Response objects in OpenAPI must follow specific rules. The most common issue is incorrectly defining response schemas.Missing $ref in response
Error:- Response schemas must be wrapped in
content→application/json→schema - Schema properties (
type,properties) cannot be direct children of the response object - The
descriptionfield is required for all response objects
Using $ref for reusable schemas
Correct with $ref:Common $ref errors
Invalid $ref path
Error:- Using
schemainstead ofschemas(note the plural) - Missing the
#/prefix - Referencing a component that doesn’t exist
- Typos in the component name (case-sensitive)
External $ref not supported
Error:components.schemas section.
Circular $ref
Error:Request body validation errors
Missing content wrapper
Error:Parameter validation errors
Invalid parameter location
Error:in values: query, header, path, cookie. Note that body is not valid for parameters in OpenAPI 3.0+. Use requestBody instead.
Troubleshooting workflow
Whenmint openapi-check fails with validation errors, follow this workflow:
Identify the error location
Parse the JSON path in the error message to locate the exact operation and property:
- Path:
/users/{id} - Method:
get - Location:
responses→200→content→application/json→schema
~1 in the path represents a forward slash (/) that’s been escaped.Check the OpenAPI specification
Review the OpenAPI 3.0 specification for the correct structure:
Validate with external tools
Use the Swagger Editor to validate and debug:
- Visit editor.swagger.io
- Click “Validate text” tab
- Paste your OpenAPI document
- Click “Validate it!”
Additional resources
- OpenAPI 3.0 Specification - Complete reference for OpenAPI syntax
- Response Object specification - Detailed response object requirements
- Schema Object specification - Schema definition rules
- Swagger Editor - Online validator and editor
- OpenAPI 3.0 Guide - Comprehensive guide to OpenAPI structure