OptionalclassClass type that the content will store. This will generate a schema in the OpenAPI spec for the given type.
OptionalcontentContent (MIME) type.
OptionaldescriptionDescription of this HTTP body.
OptionalexampleFree form example of this body in plain
text. Setting this will prevent type
or class from setting auto-generated
examples.
OptionalexplodeSpecifies 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.
OptionalrequiredIs this parameter required in requests?
OptionalstyleDefines how array/object is delimited. Possible styles depend on the parameter location.
OptionaltypeType 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.