var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
import { OasPaths } from '../../models/OasPaths';
/**
 * @author eric.wittmann@gmail.com
 * @class
 * @extends OasPaths
 */
var Oas20Paths = /** @class */ (function (_super) {
    __extends(Oas20Paths, _super);
    function Oas20Paths() {
        return _super.call(this) || this;
    }
    /**
     * @see io.apicurio.datamodels.openapi.models.OasPaths#createPathItem(java.lang.String)
     * @param {string} path
     * @return {OasPathItem}
     */
    Oas20Paths.prototype.createPathItem = function (path) {
        var pathItem = new Oas20PathItem(path);
        pathItem._ownerDocument = this.ownerDocument();
        pathItem._parent = this;
        return pathItem;
    };
    return Oas20Paths;
}(OasPaths));
export { Oas20Paths };
Oas20Paths["__class"] = "io.apicurio.datamodels.openapi.v2.models.Oas20Paths";
Oas20Paths["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable", "io.apicurio.datamodels.core.models.IIndexedNode"];
import { Oas20PathItem } from './Oas20PathItem';
//# sourceMappingURL=Oas20Paths.js.map