Control which endpoints from your OpenAPI specification appear in your documentation navigation
x-hidden
and x-excluded
extensions.
x-hidden
x-hidden
extension creates a page for an endpoint, but hides it from navigation. The page is only accessible by navigating directly to its URL.
Common use cases for x-hidden
are:
x-excluded
x-excluded
extension completely excludes an endpoint from your documentation.
Common use cases for x-excluded
are:
x-hidden
or x-excluded
extension under the HTTP method in your OpenAPI specification.
Here are examples of how to use each property in an OpenAPI schema document for an endpoint and a webhook path.