The rules for serialization of the parameter are specified in one of two ways. For simpler scenarios, a schema and style can describe the structure and syntax 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.

interface WithSchema {
    content?: undefined;
    schema: SchemaObject;
}

Hierarchy (view full)

Properties

Properties

content?: undefined
schema: SchemaObject