OasMediaType

Each OasMediaType object provides schema and examples for the media type identified by its key.

Members

Variables

encoding
OasEncoding[string] encoding;

A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding object SHALL only apply to requestBody objects when the media type is multipart or application/x-www-form-urlencoded.

schema
OasSchema schema;

The schema defining the content of the request, response, or parameter.

See Also

Meta