kompendium
2.0.1
2.0.2 2.0.1

# 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

AnyOfPayload
Link copied to clipboard
data class AnyOfPayload (anyOf: List < ComponentSchema >) : Payload
Content copied to clipboard
MediaType
Link copied to clipboard
data class MediaType (schema: ComponentSchema , examples: Map < String , MediaType.Example >?)
Content copied to clipboard
Parameter
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 >?)
Content copied to clipboard
Payload
Link copied to clipboard
interface Payload
Content copied to clipboard
Request
Link copied to clipboard
data class Request (description: String ?, content: Map < String , MediaType >, required: Boolean ) : Payload
Content copied to clipboard
Response
Link copied to clipboard
data class Response (description: String ?, headers: Map < String , Payload >?, content: Map < String , MediaType >?, links: Map < String , Payload >?) : Payload
Content copied to clipboard