Package io.bkbn.kompendium.oas.payload

This is another good one, this is where the actual payload types live. Request and response body specifications, parameter details, collection support. That all lives here.

Types

Link copied to clipboard
data class AnyOfPayload(anyOf: List<ComponentSchema>) : Payload
Link copied to clipboard
data class MediaType(schema: ComponentSchema, examples: Map<String, MediaType.Example>?)
Link copied to clipboard
data class Parameter(name: String, in: String, schema: ComponentSchema, description: String?, required: Boolean, deprecated: Boolean, allowEmptyValue: Boolean?, style: String?, explode: Boolean?, examples: Map<String, Parameter.Example>?)
Link copied to clipboard
interface Payload
Link copied to clipboard
data class Request(description: String?, content: Map<String, MediaType>, required: Boolean) : Payload
Link copied to clipboard
data class Response(description: String?, headers: Map<String, Payload>?, content: Map<String, MediaType>?, links: Map<String, Payload>?) : Payload