Optional ReadonlygetFunction that returns subscription registrations.
Takes precedence over server.getSubscriptionRegistrations().
ReadonlyinfoAsyncAPI info metadata (title, version, description).
Optional ReadonlypathPath to serve the spec at. Defaults to /asyncapi.json.
Optional ReadonlyserverA ServerBuilder (or any structurally compatible object). When set,
subscription registrations are read from the server automatically.
An explicit getSubscriptionRegistrations value takes precedence.
Optional ReadonlyserversServer entries to include in the spec's servers map.
Keys are server IDs (e.g. 'production', 'staging').
Options for the serveAsyncApi middleware.
When
serveris provided,getSubscriptionRegistrationsis derived from it automatically (unless explicitly overridden).