source: node_modules/@swagger-api/apidom-ns-json-schema-draft-4/es/refractor/visitors/json-schema/index.mjs

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 497 bytes
Line 
1import stampit from 'stampit';
2import { always } from 'ramda';
3import FixedFieldsVisitor from "../generics/FixedFieldsVisitor.mjs";
4import FallbackVisitor from "../FallbackVisitor.mjs";
5import JSONSchemaElement from "../../../elements/JSONSchema.mjs";
6const JSONSchemaVisitor = stampit(FixedFieldsVisitor, FallbackVisitor, {
7 props: {
8 specPath: always(['document', 'objects', 'JSONSchema'])
9 },
10 init() {
11 this.element = new JSONSchemaElement();
12 }
13});
14export default JSONSchemaVisitor;
Note: See TracBrowser for help on using the repository browser.