UNPKG

@globalart/nestjs-swagger

Version:

A simple documentation builder for NestJS Swagger Module

13 lines (12 loc) 642 B
export declare const API_RESPONSE_DESCRIPTION = "If the server is available, it always responds with code 200 or 201. Error code 400 and higher will replace the ok field: it equals false and the error text in the error field. If the input data does not pass validation, the error field contains an object with invalid fields and error text"; export declare const ERROR_DESCRIPTIONS: { BAD_REQUEST: string; UNAUTHORIZED: string; FORBIDDEN: string; NOT_FOUND: string; CONFLICT: string; UNPROCESSABLE_ENTITY: string; RATE_LIMIT_EXCEEDED: string; INTERNAL_SERVER_ERROR: string; SERVICE_UNAVAILABLE: string; };