@euk-labs/nest-beltz
Version:
9 lines • 789 B
TypeScript
import { ApiResponseOptions } from '@nestjs/swagger';
/**
* The HyperText Transfer Protocol (HTTP) `422 Unprocessable Entity` response status code indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions.
*
* @see [422 Unprocessable Entity](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422)
* @param options - These are the same types as ApiResponse
*/
export declare function UnprocessableEntityResponse(options?: ApiResponseOptions): <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void;
//# sourceMappingURL=unprocessable-entity-response.decorator.d.ts.map