@euk-labs/nest-beltz
Version:
11 lines • 795 B
TypeScript
import { ApiResponseOptions } from '@nestjs/swagger';
/**
* The HyperText Transfer Protocol (HTTP) `400 Bad Request` response status code indicates that the server cannot or will not process the
* request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or
* deceptive request routing).
*
* @see [400 Bad Request](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400)
* @param options - These are the same types as `ApiResponse`
*/
export declare function BadRequestResponse(options?: ApiResponseOptions): <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void;
//# sourceMappingURL=bad-request-response.decorator.d.ts.map