api

http4k / org.http4k.contract.openapi.v3 / Api

Api

data class Api<NODE> (source)

Constructors

Name Summary
<init> Api(info: ApiInfo, tags: List<Tag>, paths: Map<String, Map<String, ApiPath<NODE>>>, components: Components<NODE>)

Properties

Name Summary
components val components: Components<NODE>
info val info: ApiInfo
openapi val openapi: String
paths val paths: Map<String, Map<String, ApiPath<NODE>>>
tags val tags: List<Tag>

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T