UNPKG

@protocolnebula/ts-openapi-generator

Version:

Build API and models from Swagger/OpenAPI to use in any project type

32 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TemplateConfigModel = void 0; const files_util_1 = require("../utils/files.util"); class TemplateConfigModel { constructor(templatePath) { this.configMapped = require(templatePath); } get apiFile() { return this.configMapped.apiFile; } get apiExtension() { return (0, files_util_1.fileExtension)(this.configMapped.apiFile); } get modelFile() { return this.configMapped.modelFile; } get modelExtension() { return (0, files_util_1.fileExtension)(this.configMapped.modelFile); } get enumModelFile() { return this.configMapped.enumModelFile; } get enumModelExtension() { return (0, files_util_1.fileExtension)(this.configMapped.enumModelFile); } get typesMapped() { return this.configMapped.typesMapped; } } exports.TemplateConfigModel = TemplateConfigModel; //# sourceMappingURL=template-config.model.js.map