"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
exports.__esModule = true;
exports.default = void 0;
var _tsMixer = require("ts-mixer");
var _ramda = require("ramda");
var _FixedFieldsVisitor = _interopRequireDefault(require("../generics/FixedFieldsVisitor.cjs"));
var _FallbackVisitor = _interopRequireDefault(require("../FallbackVisitor.cjs"));
var _OpenApi = _interopRequireDefault(require("../../../elements/OpenApi3-0.cjs"));
/**
 * @public
 */
// eslint-disable-next-line @typescript-eslint/naming-convention

/**
 * @public
 */
// eslint-disable-next-line @typescript-eslint/naming-convention
class OpenApi3_0Visitor extends (0, _tsMixer.Mixin)(_FixedFieldsVisitor.default, _FallbackVisitor.default) {
  constructor(options) {
    super(options);
    this.element = new _OpenApi.default();
    this.specPath = (0, _ramda.always)(['document', 'objects', 'OpenApi']);
    this.canSupportSpecificationExtensions = true;
  }
  ObjectElement(objectElement) {
    return _FixedFieldsVisitor.default.prototype.ObjectElement.call(this, objectElement);
  }
}
var _default = exports.default = OpenApi3_0Visitor;