rest-vir - v2.2.0
    Preparing search index...

    Type Alias ResponseDefinitions

    ResponseDefinitions: RequireAtLeastOne<
        Record<HttpStatus, ResponseStatusDefinition>,
    >

    Optionally provide explicit response body data for specific response status. Any HttpStatus response not defined has a default body type depending on its status class:

    • Error HTTP statuses: string (allowing error messages) | undefined (no body)
    • Success HTTP statuses: undefined (no body)