API Explorer control
The API Explorer is enabled by default for all endpoints. Use x-fern-explorer to disable or it globally or to override it per operation. This is commonly used to disable the Explorer for destructive operations, payment processing, or admin-only endpoints.
Global
To disable the API Explorer for your entire API, add x-fern-explorer at the root level:
openapi.yml
Endpoint
To control the API Explorer for individual endpoints, use x-fern-explorer:
openapi.yml
Combining global and endpoint-level settings
You can combine both extensions to set a default behavior globally and override it for specific endpoints:
openapi.yml