summer-glove
Version:
[](https://www.npmjs.com/package/summer-glove) ## Fit like a glove 🧤 Summer-glove is a route manager, providing a quick and easy way to configure an express application. Summer-glo
13 lines (12 loc) • 551 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const SwaggerInformationCore_1 = __importDefault(require("../../../application/core/SwaggerInformationCore"));
function ApiDefaultPath(basePath) {
return (target) => {
SwaggerInformationCore_1.default.getInstance().getObjectConfig().swaggerConfig.basePath = basePath;
};
}
exports.default = ApiDefaultPath;