ReadonlyinfoAPI metadata (title, version, description).
Optional ReadonlypathPath prefix to strip from all channel addresses. Useful when the subscription endpoints are mounted under a prefix that differs from how the AsyncAPI doc should describe them.
Optional ReadonlyserverA ServerBuilder (or any object implementing getSubscriptionRegistrations()).
When set, subscription registrations are automatically read from the
server instance. Explicit subscriptions values take precedence.
Optional ReadonlyserversServer entries to include in the spec's servers map.
Keys are server IDs (e.g. 'production', 'staging').
Optional ReadonlysubscriptionsSubscription registrations to document.
When omitted, registrations are read from the server option.
Options passed to generateAsyncApiSpec.
When
serveris provided,subscriptionsare derived from it automatically (unless explicitly overridden).