Optional
classClass type that the content will store. This will generate a schema in the OpenAPI spec for the given type.
Optional
contentContent (MIME) type.
Optional
descriptionDescription of this HTTP body.
Optional
exampleFree form example of this body in plain
text. Setting this will prevent type
or class
from setting auto-generated
examples.
Optional
typeType of data the content stores, one of the following:
array array-array boolean boolean-array double double-array file int int-array number number-array object object-array string string-array
If you specify this value, class
is ignored.
Describes the body of a HTTP request or response.