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.
To disable the API Explorer for your entire API, add x-fern-explorer at the root level:
To control the API Explorer for individual endpoints, use x-fern-explorer:
You can combine both extensions to set a default behavior globally and override it for specific endpoints: