UNPKG

ng-openapi-gen

Version:

An OpenAPI 3.0 and 3.1 codegen for Angular 16+

22 lines 592 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModelIndex = void 0; const gen_type_1 = require("./gen-type"); /** * Represents the model index */ class ModelIndex extends gen_type_1.GenType { constructor(models, options) { super('models', n => n, options); models.forEach(model => this.addImport(model.name, !model.isEnum)); this.updateImports(); } skipImport() { return false; } initPathToRoot() { return './'; } } exports.ModelIndex = ModelIndex; //# sourceMappingURL=model-index.js.map