@nestjs/swagger
Version:
Nest - modern, fast, powerful node.js web framework (@swagger)
12 lines (11 loc) • 410 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApiExcludeEndpoint = void 0;
const constants_1 = require("../constants");
const helpers_1 = require("./helpers");
function ApiExcludeEndpoint(disable = true) {
return helpers_1.createMethodDecorator(constants_1.DECORATORS.API_EXCLUDE_ENDPOINT, {
disable
});
}
exports.ApiExcludeEndpoint = ApiExcludeEndpoint;