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
explodeSpecifies whether arrays and objects should generate separate parameters for each array item or object property; in other words, muiltiple parameters of the same name for array values/object fields (true) or one string per parameter (false); see style field.
Optional
requiredIs this parameter required in requests?
Optional
styleDefines how array/object is delimited. Possible styles depend on the parameter location.
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 a parameter in a HTTP request.