Skip to main content

Interface: IOpenApiRequestBody

An OpenAPI Request Body Object.

See

https://spec.openapis.org/oas/latest.html#request-body-object

Properties

description?

optional description?: string

A brief description of the request body.


content

content: object

The content of the request body.

Index Signature

[contentType: string]: IOpenApiReference | IOpenApiMediaType


required?

optional required?: boolean

Whether the request body is required.