RequestBody
zio.http.api.openapi.OpenAPI$.RequestBody
final case class RequestBody(description: Doc, content: Map[String, MediaType], required: Boolean) extends ResponseOrReference
Describes a single request body.
Attributes
- content
The content of the request body. The key is a media type or [media type range]appendix-D) and the value describes it. For requests that match multiple keys, only the most specific key is applicable.
- description
A brief description of the request body. This could contain examples of use.
- required
Determines if the request body is required in the request.
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait ResponseOrReferenceclass Objecttrait Matchableclass Any