Interface ResponseSchemas<StatusT, HeadersT, BodyT>

Schemas used for responses

interface ResponseSchemas<StatusT, HeadersT, BodyT> {
    body?: Schema<BodyT>;
    headers?: Schema<HeadersT>;
    status?: Schema<StatusT>;
}

Type Parameters

Properties

body?: Schema<BodyT>
headers?: Schema<HeadersT>
status?: Schema<StatusT>