HealthCheck
Marks the endpoint as a Health Check endpoint.
const HealthCheck: ({ noCache, swaggerDocumentation }?: HealthCheckOptions) => (target: any, key: any, descriptor: PropertyDescriptor) => void;
Description
- If the
@nestjs/swagger
package is installed, the endpoint will be documented. - Per default, the response will not be cached.