Package-level declarations
Types
Replace all JSON class schema values with component references.
Sealed type for the different sources used for generating an OpenAPI document.
Mapping function for Operation.
Function that configures an OpenAPI Operation.
Properties
Attribute key for storing OpenAPI security scheme metadata for authentication providers. Maps provider names to their corresponding SecurityScheme definitions.
Attribute key for io.ktor.server.application.Application JSON schema inference override.
Attribute key for including OpenAPI metadata on a Route.
Attribute key for hiding the given Route from OpenAPI documentation.
Populate Parameter.content and response Header.content fields with default values.
Functions
Retrieves all registered security schemes from the application.
Retrieves all registered security schemes from the application.
Combines the current OpenApiDoc instance with a single Route.
Overload for OpenApiDoc.plus that accepts a Collection of Routes.
Combines the current OpenApiDoc instance with additional security schemes.
Combines the current OpenApiDoc instance with a sequence of routes, resulting in a new OpenApiDoc containing the updated paths and components based on the provided routes.
Registers an API Key authentication security scheme.
Registers a Basic HTTP authentication security scheme.
Registers a Bearer HTTP authentication security scheme.
Registers a Digest HTTP authentication security scheme.
Registers a JWT Bearer authentication security scheme.
Registers an OAuth2 authentication security scheme.
Registers an OpenID Connect authentication security scheme.
Registers a security scheme for an authentication provider. This metadata will be used to generate the OpenAPI specification. It's not recommended to use this method after the application has started.