Optional ReadonlyauthReadonlyinfoOptional ReadonlyregistrationsOptional ReadonlysecurityOptional ReadonlyserverA ServerBuilder (or any object implementing the same methods).
When set, registrations, authConfig, and webhooks are
automatically read from the server instance. Explicit values for
those fields take precedence over the server-derived ones.
Optional ReadonlyserversOptional ReadonlytagsTop-level tag definitions with optional descriptions and external docs.
When provided, these entries are emitted as the top-level tags array.
Any tag names used by registered endpoints but absent from this list are
automatically appended as name-only entries (sorted alphabetically).
When omitted, unique tag names are still auto-collected from all registered endpoints and emitted as name-only entries.
Optional ReadonlywebhooksWebhook definitions to emit in the top-level webhooks map of the
generated OpenAPI document.
Webhooks are not served as HTTP routes — they merely document async out-of-band requests that your API sends to subscribers.
Options passed to generateOpenApiSpec.
When
serveris provided,registrationsandauthConfigare derived from it automatically (unless explicitly overridden).