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 Oas30Paths = /** @class */ (function (_super) {
    __extends(Oas30Paths, _super);
    function Oas30Paths() {
        return _super.call(this) || this;
    }
    /**
     * @see io.apicurio.datamodels.openapi.models.OasPaths#createPathItem(java.lang.String)
     * @param {string} path
     * @return {OasPathItem}
     */
    Oas30Paths.prototype.createPathItem = function (path) {
        var pathItem = new Oas30PathItem(path);
        pathItem._ownerDocument = this.ownerDocument();
        pathItem._parent = this;
        return pathItem;
    };
    return Oas30Paths;
}(OasPaths));
export { Oas30Paths };
Oas30Paths["__class"] = "io.apicurio.datamodels.openapi.v3.models.Oas30Paths";
Oas30Paths["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable", "io.apicurio.datamodels.core.models.IIndexedNode"];
import { Oas30PathItem } from './Oas30PathItem';
//# sourceMappingURL=Oas30Paths.js.map