TegralOpenApiKtor
A Ktor plugin that adds a Tegral OpenAPI DSL integration to the Ktor application, including:
Support for providing basic OpenAPI information right from the
install(...) { ... }
call.Support for describing endpoints and registering operations.
Producing an OpenAPI document as an object
Support for serving OpenAPI documents from an endpoint
Types
Configuration block for the plugin, allows you to directly add information to the OpenAPI document.
Ktor plugin object for TegralOpenApiKtor.
Functions
Create an OpenAPI document from the information registered in this plugin.
Retrieve all registered hooks for the parents of the given route.
Register an OpenAPI operation from a path, HTTP method and operation builder.
Register an OpenAPI operation from a path, HTTP method and operation builder block.
Register a hook for the given route's children.
Runs the given lambda against the root OpenAPI builder, allowing to further customize the content of the OpenAPI document.