OasRequestBody

Undocumented in source.

Members

Variables

content
OasMediaType[string] content;

**REQUIRED**. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. text/plain overrides text/*

description
string description;

A brief description of the request body. This could contain examples of use. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation.

ref_
string ref_;

A link to request bodies defined in the [OasDocument's] components/requestBodies.

required
bool required;

Determines if the request body is required in the request. Defaults to false.

Meta