BuildNavigationOptions
The interface publier.openapi.BuildNavigationOptions.
Overview
interface BuildNavigationOptions
Properties
excludeDeprecated
excludeDeprecated?: boolean
Drop deprecated operations from the output entirely. Default: keep them
and expose the deprecated flag for renderers to style as needed.
formatLabel
formatLabel?: (ep: EndpointEntry) => string
Override the default label (operation.summary or METHOD path).
Note: this callback cannot cross the Rust boundary and is not applied.
Apply a post-pass on the returned groups if custom labels are needed.
groupBy
groupBy?: "tag" | "path"
How to group endpoints. 'tag' is the OpenAPI norm; 'path' groups by
first non-parameter path segment (useful for specs without tags).
includeWebhooks
includeWebhooks?: boolean
Forwarded to extractEndpoints — see that function’s docs.
slugPrefix
slugPrefix?: string
URL path prefixed onto every item slug. When the generated docs live
under /api, pass 'api' to get api/<tag>/<operation> slugs.