Package-level declarations
Types
A lambda for creating OperationBuilders. This is useful if you need to heavily customize the operation creation process.
This lambda receives:
A context, from which types can be created (via OpenApiDslContext.computeAndRegisterSchema
A list of hooks that must be added to the description before anything else.
A Ktor plugin that adds a Tegral OpenAPI DSL integration to the Ktor application, including:
Functions
Adds a hook to the given route. All following descriptions on endpoints that are sub-endpoints of this route will have the given hook applied to their description.
Adds an OpenAPI operation description to this route using a prepared builder.
Retrieve the TegralOpenApiKtor plugin instance from this application, or print a warning message once and return null.
Adds a get(path)
endpoint that will return the OpenAPI document for this API.
Properties
Retrieve the TegralOpenApiKtor plugin from this application.