The rules for serialization of the parameter are specified in one of two
ways. For more complex scenarios, the
content
property can define the media type and schema of the parameter. A parameter
MUST contain either a schema property, or a content property, but not
both. When example or examples are provided in conjunction with the
schema object, the example MUST follow the prescribed serialization
strategy for the parameter.
The rules for serialization of the parameter are specified in one of two ways. For more complex scenarios, the
content
property can define the media type and schema of the parameter. A parameter MUST contain either aschema
property, or acontent
property, but not both. Whenexample
orexamples
are provided in conjunction with theschema
object, the example MUST follow the prescribed serialization strategy for the parameter.