Builds the OpenAPI document for the routes of the current routing build. With
includeProtected set to false, the document covers only the contributions served
without token verification, i.e. the view presented to unauthorized requests.
OptionalincludeProtected: booleanReplaces the documented routes; called by the external API server on each routing build.
Builds the OpenAPI document describing the external API.
The external API server records the typed routes and event streams of all contributions on each routing build; the document is assembled on demand from those recordings, e.g. by the
OpenApiSpecContributionserving it. Routes registered on a contribution's raw express router are not recorded and do not appear in the document.Rebind the OpenApiDocumentBuilder to customize the document.