Package-level declarations

Types

Link copied to clipboard
data class ApiInfo(val title: String, val version: String, val description: String? = null)
Link copied to clipboard

Renders the contract contents in OpenApi JSON format.

Link copied to clipboard

Provides a way to apply extensions to the OpenAPI JSON document.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias Render<NODE> = Json<NODE>.() -> NODE
Link copied to clipboard
interface RenderModes
Link copied to clipboard

Provides rendering of Security models in to OpenApi specs.

Functions

Link copied to clipboard

Cache the result of the API render, in case it is expensive to calculate.

Link copied to clipboard
fun operationId(routeMeta: RouteMeta, method: Method, description: String): String
Link copied to clipboard
inline fun <T : Security> rendererFor(crossinline fn: (T) -> RenderModes): SecurityRenderer