HttpRequestBody

data class HttpRequestBody(val required: Boolean = false, val description: String? = null, val content: List<HttpContent> = emptyList(), val contentDeclared: Boolean = content.isNotEmpty(), val component: HttpComponent<RequestBody>? = null)

Constructors

Link copied to clipboard
constructor(required: Boolean = false, description: String? = null, content: List<HttpContent> = emptyList(), contentDeclared: Boolean = content.isNotEmpty(), component: HttpComponent<RequestBody>? = null)

Properties

Link copied to clipboard
val component: HttpComponent<RequestBody>?

When set, the document references this component instead of describing the request body inline.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard