Metadata of response body for exceptional status cases.

interface IException {
    media: () => OpenApi.IOperation.IMediaType;
    response: () => OpenApi.IOperation.IResponse;
    schema: OpenApi.IJsonSchema;
}

Properties

Properties

Media type of the response body.

response: () => OpenApi.IOperation.IResponse

Description comment for the exception.

Metadata of response body data type.