BodyMetadata

data class BodyMetadata(val type: TypeMetadata, val name: String? = null, val mediaType: String? = null)(source)

Metadata describing an HTTP body definition.

Constructors

Link copied to clipboard
constructor(type: TypeMetadata, name: String? = null, mediaType: String? = null)

Properties

Link copied to clipboard

optional media type advertised for the payload.

Link copied to clipboard
val name: String?

optional symbolic name associated with the body.

Link copied to clipboard

Kotlin type metadata for the payload.

Functions

Link copied to clipboard

Returns the Kotlin value type exposed by generated code for the receiver body metadata.