Builder
Builder for the OpenAPI root document object.
This does not include builder DSL for path items and webhooks. These are generally handled on the routes themselves, then resolved later at runtime.
Properties
Optional reusable components for the document (schemas, responses, parameters, request bodies, etc.).
Specification extensions for the document.
Optional external documentation for the entire API.
Required OpenAPI "Info Object" describing the API (title, version, optional description, etc.).
OpenAPI specification version to be written into the resulting document.
Functions
Builds an instance of OpenApiDoc based on the current state of the Builder.
Configures one or more global security requirements using the Security DSL.
Configures one or more servers for this API using the Servers DSL.