UNPKG

@protocolnebula/ts-openapi-generator

Version:

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

21 lines 699 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ParameterModel = void 0; const model_attributes_model_1 = require("./model-attributes.model"); class ParameterModel extends model_attributes_model_1.ModelAttributessModel { constructor(parameterNameRef, attributeModel) { super(null); this.parameterNameRef = parameterNameRef; if (attributeModel) { Object.assign(this, attributeModel); } } get uri() { return `#/components/parameters/${this.parameterNameRef}`; } getAttribute() { return this; } } exports.ParameterModel = ParameterModel; //# sourceMappingURL=parameter.model.js.map