boats
Version:
Beautiful Open / Async Template System - Write less yaml with BOATS and Nunjucks.
11 lines (10 loc) • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
const tslib_1 = require("tslib");
const schemaRefGenerator_1 = tslib_1.__importDefault(require("../schemaRefGenerator"));
function default_1(fileName, componentsPath = 'components/schemas') {
return (0, schemaRefGenerator_1.default)(this.env.globals.currentFilePointer, fileName, {
componentsPath,
}, this.env.globals.boatsConfig);
}