
package.es.refractor.visitors.async-api-2.index.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-asyncapi-2 Show documentation
Show all versions of apidom-ns-asyncapi-2 Show documentation
AsyncAPI 2.x.y namespace for ApiDOM.
import stampit from 'stampit';
import { always } from 'ramda';
import FixedFieldsVisitor from "../generics/FixedFieldsVisitor.mjs";
import FallbackVisitor from "../FallbackVisitor.mjs";
import AsyncApi2Element from "../../../elements/AsyncApi2.mjs";
const AsyncApi2Visitor = stampit(FixedFieldsVisitor, FallbackVisitor, {
props: {
specPath: always(['document', 'objects', 'AsyncApi']),
canSupportSpecificationExtensions: true
},
init() {
this.element = new AsyncApi2Element();
}
});
export default AsyncApi2Visitor;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy