@nocobase/plugin-mcp-server 2.1.0-alpha.15 → 2.1.0-alpha.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/externalVersion.js +6 -6
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/README.md +11 -15
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +21 -11
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +101 -28
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.d.ts +31 -30
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +23 -11
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.d.ts +16 -292
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.d.ts +1 -1
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +20 -11
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.d.ts +1 -0
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +36 -12
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +42 -5
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.d.ts +5 -5
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +23 -14
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +17 -7
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +23 -10
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +34 -13
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/types/index.d.ts +7 -3
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.d.ts +18 -2
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +53 -6
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.d.ts +2 -2
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.d.ts +7 -0
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +190 -18
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/dist/vite.config.js +1 -0
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/bundle.ts +10 -4
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.ts +94 -21
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/index.ts +34 -43
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/options.ts +17 -0
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.ts +3 -4
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/pointer.ts +25 -6
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/ref.ts +10 -2
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/refs.ts +7 -8
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/resolvers/file.ts +6 -3
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/resolvers/http.ts +20 -11
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/types/index.ts +8 -3
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/util/errors.ts +67 -10
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/util/plugins.ts +6 -7
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/lib/util/url.ts +195 -10
- package/dist/node_modules/@apidevtools/json-schema-ref-parser/package.json +34 -35
- package/dist/node_modules/@apidevtools/swagger-parser/README.md +39 -63
- package/dist/node_modules/@apidevtools/swagger-parser/lib/index.d.ts +171 -247
- package/dist/node_modules/@apidevtools/swagger-parser/lib/index.js +32 -52
- package/dist/node_modules/@apidevtools/swagger-parser/lib/options.js +4 -7
- package/dist/node_modules/@apidevtools/swagger-parser/lib/util.js +11 -13
- package/dist/node_modules/@apidevtools/swagger-parser/lib/validators/schema.js +9 -10
- package/dist/node_modules/@apidevtools/swagger-parser/lib/validators/spec.js +51 -51
- package/dist/node_modules/@apidevtools/swagger-parser/package.json +36 -35
- package/dist/node_modules/light-my-request/package.json +1 -1
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/LICENSE +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/README.md +168 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.d.ts +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +283 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.d.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +216 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.d.ts +162 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +206 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.d.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.d.ts +387 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.js +122 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +169 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.js +35 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.js +62 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.js +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.js +52 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.d.ts +88 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +283 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.d.ts +181 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +243 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.d.ts +127 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +222 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.d.ts +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +133 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +64 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +137 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/types/index.d.ts +114 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/types/index.js +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.d.ts +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.d.ts +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +112 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.d.ts +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.js +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.d.ts +34 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.js +132 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.d.ts +94 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +319 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/vite.config.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/dist/vite.config.js +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/bundle.ts +299 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.ts +288 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/index.ts +453 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/normalize-args.ts +68 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/options.ts +232 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.ts +170 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/parsers/binary.ts +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/parsers/json.ts +64 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/parsers/text.ts +46 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/parsers/yaml.ts +52 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/pointer.ts +327 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/ref.ts +298 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/refs.ts +239 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/resolve-external.ts +136 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/resolvers/file.ts +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/resolvers/http.ts +131 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/types/index.ts +151 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/convert-path-to-posix.ts +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/errors.ts +157 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/is-windows.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/maybe.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/next.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/plugins.ts +160 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/lib/util/url.ts +308 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/json-schema-ref-parser/package.json +111 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/LICENSE +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/README.md +146 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/lib/index.d.ts +439 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/lib/index.js +206 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/lib/options.js +74 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/lib/util.js +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/lib/validators/schema.js +93 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/lib/validators/spec.js +352 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/@apidevtools/swagger-parser/package.json +87 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/.runkit_example.js +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/LICENSE +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/README.md +207 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/2019.d.ts +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/2019.js +61 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/2019.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/2020.d.ts +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/2020.js +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/2020.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/ajv.js +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/errors.js +123 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/index.js +242 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/names.js +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/rules.js +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/util.js +178 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/core.d.ts +174 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/core.js +618 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/jtd.js +72 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/jtd.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/data.json +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/standalone/index.js +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/index.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/2019.ts +81 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/2020.ts +75 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/ajv.ts +70 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/index.ts +324 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/names.ts +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/util.ts +213 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/core.ts +892 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/jtd.ts +132 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/data.json +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/types/index.ts +244 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv/package.json +127 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/LICENSE +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/README.md +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/index.d.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/index.js +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +138 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/core.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/core.js +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/core.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/draft4.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/draft4.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/index.d.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +35 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.d.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +44 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/.runkit_example.js +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/LICENSE +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/README.md +207 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/2019.d.ts +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/2019.js +61 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/2019.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/2020.d.ts +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/2020.js +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/2020.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/ajv.js +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/code.js +155 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/errors.js +123 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/index.js +242 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/names.js +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/rules.js +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/util.js +178 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/core.d.ts +173 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/core.js +618 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/jtd.js +72 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/jtd.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/data.json +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/standalone/index.js +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/index.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/discriminator/index.js +100 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/2019.ts +81 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/2020.ts +75 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/ajv.ts +70 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/codegen/code.ts +168 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/index.ts +324 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/names.ts +27 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/util.ts +213 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/core.ts +891 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/jtd.ts +132 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/data.json +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/types/index.ts +244 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/discriminator/index.ts +110 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/node_modules/ajv/package.json +126 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/package.json +74 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/index.ts +81 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/refs/json-schema-draft-04.json +138 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/vocabulary/core.ts +13 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/vocabulary/draft4.ts +17 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/vocabulary/validation/index.ts +51 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumber.ts +76 -0
- package/dist/node_modules/openapi-mcp-generator/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumberExclusive.ts +26 -0
- package/dist/node_modules/openapi-types/package.json +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apidevtools/swagger-parser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"description": "Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"swagger",
|
|
@@ -19,11 +19,16 @@
|
|
|
19
19
|
"reference",
|
|
20
20
|
"dereference"
|
|
21
21
|
],
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
"contributors": [
|
|
23
|
+
{
|
|
24
|
+
"name": "James Messinger"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "JonLuca DeCaro",
|
|
28
|
+
"email": "apis@jonlu.ca"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"homepage": "https://apidevtools.com/swagger-parser/",
|
|
27
32
|
"repository": {
|
|
28
33
|
"type": "git",
|
|
29
34
|
"url": "https://github.com/APIDevTools/swagger-parser.git"
|
|
@@ -35,53 +40,49 @@
|
|
|
35
40
|
"lib"
|
|
36
41
|
],
|
|
37
42
|
"scripts": {
|
|
38
|
-
"clean": "
|
|
39
|
-
"lint": "eslint lib test
|
|
40
|
-
"lint:fix": "eslint --fix lib test
|
|
41
|
-
"
|
|
42
|
-
"build:website": "node build-website.mjs",
|
|
43
|
-
"build:sass": "sass online/src/scss/style.scss online/css/style.min.css",
|
|
44
|
-
"test": "npm run test:node && npm run test:typescript && npm run lint",
|
|
43
|
+
"clean": "rimraf .nyc_output coverage",
|
|
44
|
+
"lint": "eslint lib test",
|
|
45
|
+
"lint:fix": "eslint --fix lib test",
|
|
46
|
+
"test": "npm run test:node && npm run test:typescript",
|
|
45
47
|
"test:node": "mocha",
|
|
46
|
-
"test:typescript": "tsc --noEmit --strict --lib esnext,dom test/specs/typescript-definition.spec.ts",
|
|
48
|
+
"test:typescript": "tsc --noEmit --strict --skipDefaultLibCheck --skipLibCheck --lib esnext,dom test/specs/typescript-definition.spec.ts",
|
|
47
49
|
"coverage": "npm run coverage:node",
|
|
48
|
-
"coverage:node": "cross-env QUICK_TEST=true nyc mocha"
|
|
49
|
-
"upgrade": "npm-check -u && npm audit fix",
|
|
50
|
-
"bump": "bump --tag --push --all",
|
|
51
|
-
"--release--cannot upgrade or everything breaks": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump",
|
|
52
|
-
"release": "npm run clean && npm run build && npm test && npm run bump"
|
|
50
|
+
"coverage:node": "cross-env QUICK_TEST=true nyc mocha"
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
53
|
+
"@eslint/compat": "^1.3.0",
|
|
54
|
+
"@eslint/js": "^9.29.0",
|
|
55
55
|
"@jsdevtools/host-environment": "^2.1.2",
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"chai": "^4",
|
|
56
|
+
"@types/node": "^24.0.3",
|
|
57
|
+
"chai": "^5",
|
|
59
58
|
"cross-env": "^7.0.3",
|
|
60
|
-
"esbuild": "^0.
|
|
59
|
+
"esbuild": "^0.25.5",
|
|
61
60
|
"esbuild-plugin-polyfill-node": "^0.3.0",
|
|
62
|
-
"eslint": "^
|
|
63
|
-
"eslint-
|
|
61
|
+
"eslint": "^9.29.0",
|
|
62
|
+
"eslint-config-prettier": "^10.1.5",
|
|
63
|
+
"eslint-plugin-jsdoc": "^51.0.1",
|
|
64
|
+
"eslint-plugin-prettier": "^5.4.1",
|
|
65
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
66
|
+
"globals": "^16.2.0",
|
|
64
67
|
"js-yaml": "^4.1.0",
|
|
65
|
-
"mocha": "^
|
|
66
|
-
"node-fetch": "^2",
|
|
67
|
-
"npm-check": "^6.0.1",
|
|
68
|
+
"mocha": "^11.6.0",
|
|
68
69
|
"nyc": "^17.1.0",
|
|
69
70
|
"openapi-types": "^12.1.3",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"typescript": "^
|
|
71
|
+
"prettier": "^3.5.3",
|
|
72
|
+
"rimraf": "^6.0.1",
|
|
73
|
+
"typescript": "^5.8.3",
|
|
74
|
+
"typescript-eslint": "^8.34.1"
|
|
74
75
|
},
|
|
75
76
|
"dependencies": {
|
|
76
|
-
"@apidevtools/json-schema-ref-parser": "
|
|
77
|
+
"@apidevtools/json-schema-ref-parser": "14.0.1",
|
|
77
78
|
"@apidevtools/openapi-schemas": "^2.1.0",
|
|
78
79
|
"@apidevtools/swagger-methods": "^3.0.2",
|
|
79
|
-
"@jsdevtools/ono": "^7.1.3",
|
|
80
80
|
"ajv": "^8.17.1",
|
|
81
81
|
"ajv-draft-04": "^1.0.0",
|
|
82
82
|
"call-me-maybe": "^1.0.2"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"openapi-types": ">=7"
|
|
86
|
-
}
|
|
86
|
+
},
|
|
87
|
+
"packageManager": "yarn@4.9.1"
|
|
87
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"light-my-request","version":"6.6.0","description":"Fake HTTP injection library","main":"index.js","type":"commonjs","types":"types/index.d.ts","dependencies":{"cookie":"^1.0.1","process-warning":"^4.0.0","set-cookie-parser":"^2.6.0"},"devDependencies":{"@fastify/ajv-compiler":"^4.0.0","@fastify/pre-commit":"^2.1.0","@types/node":"^22.7.7","c8":"^10.1.2","end-of-stream":"^1.4.4","eslint":"^9.17.0","express":"^4.19.2","form-auto-content":"^3.2.1","form-data":"^4.0.0","formdata-node":"^6.0.3","multer":"^1.4.5-lts.1","neostandard":"^0.12.0","tinybench":"^3.0.0","tsd":"^0.31.0","undici":"^7.0.0"},"scripts":{"benchmark":"node benchmark/benchmark.js","coverage":"npm run unit -- --cov --coverage-report=html","lint":"eslint","lint:fix":"eslint --fix","test":"npm run lint && npm run test:unit && npm run test:typescript","test:typescript":"tsd","test:unit":"c8 --100 node --test"},"repository":{"type":"git","url":"git+https://github.com/fastify/light-my-request.git"},"keywords":["http","inject","fake","request","server"],"author":"Tomas Della Vedova - @delvedor (http://delved.org)","contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"}],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/fastify/light-my-request/issues"},"homepage":"https://github.com/fastify/light-my-request#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"_lastModified":"2026-04-
|
|
1
|
+
{"name":"light-my-request","version":"6.6.0","description":"Fake HTTP injection library","main":"index.js","type":"commonjs","types":"types/index.d.ts","dependencies":{"cookie":"^1.0.1","process-warning":"^4.0.0","set-cookie-parser":"^2.6.0"},"devDependencies":{"@fastify/ajv-compiler":"^4.0.0","@fastify/pre-commit":"^2.1.0","@types/node":"^22.7.7","c8":"^10.1.2","end-of-stream":"^1.4.4","eslint":"^9.17.0","express":"^4.19.2","form-auto-content":"^3.2.1","form-data":"^4.0.0","formdata-node":"^6.0.3","multer":"^1.4.5-lts.1","neostandard":"^0.12.0","tinybench":"^3.0.0","tsd":"^0.31.0","undici":"^7.0.0"},"scripts":{"benchmark":"node benchmark/benchmark.js","coverage":"npm run unit -- --cov --coverage-report=html","lint":"eslint","lint:fix":"eslint --fix","test":"npm run lint && npm run test:unit && npm run test:typescript","test:typescript":"tsd","test:unit":"c8 --100 node --test"},"repository":{"type":"git","url":"git+https://github.com/fastify/light-my-request.git"},"keywords":["http","inject","fake","request","server"],"author":"Tomas Della Vedova - @delvedor (http://delved.org)","contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"}],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/fastify/light-my-request/issues"},"homepage":"https://github.com/fastify/light-my-request#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"_lastModified":"2026-04-17T02:45:44.693Z"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 James Messinger
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# JSON Schema $Ref Parser
|
|
2
|
+
|
|
3
|
+
#### Parse, Resolve, and Dereference JSON Schema $ref pointers
|
|
4
|
+
|
|
5
|
+
[](https://github.com/APIDevTools/json-schema-ref-parser/actions)
|
|
6
|
+
[](https://coveralls.io/github/APIDevTools/json-schema-ref-parser)
|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/@apidevtools/json-schema-ref-parser)
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](https://plant.treeware.earth/APIDevTools/json-schema-ref-parser)
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
Install using [npm](https://docs.npmjs.com/about-npm/):
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @apidevtools/json-schema-ref-parser
|
|
18
|
+
yarn add @apidevtools/json-schema-ref-parser
|
|
19
|
+
bun add @apidevtools/json-schema-ref-parser
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## The Problem:
|
|
23
|
+
|
|
24
|
+
You've got a JSON Schema with `$ref` pointers to other files and/or URLs. Maybe you know all the referenced files ahead
|
|
25
|
+
of time. Maybe you don't. Maybe some are local files, and others are remote URLs. Maybe they are a mix of JSON and YAML
|
|
26
|
+
format. Maybe some of the files contain cross-references to each other.
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"definitions": {
|
|
31
|
+
"person": {
|
|
32
|
+
// references an external file
|
|
33
|
+
"$ref": "schemas/people/Bruce-Wayne.json"
|
|
34
|
+
},
|
|
35
|
+
"place": {
|
|
36
|
+
// references a sub-schema in an external file
|
|
37
|
+
"$ref": "schemas/places.yaml#/definitions/Gotham-City"
|
|
38
|
+
},
|
|
39
|
+
"thing": {
|
|
40
|
+
// references a URL
|
|
41
|
+
"$ref": "http://wayne-enterprises.com/things/batmobile"
|
|
42
|
+
},
|
|
43
|
+
"color": {
|
|
44
|
+
// references a value in an external file via an internal reference
|
|
45
|
+
"$ref": "#/definitions/thing/properties/colors/black-as-the-night"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## The Solution:
|
|
52
|
+
|
|
53
|
+
JSON Schema $Ref Parser is a full [JSON Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03)
|
|
54
|
+
and [JSON Pointer](https://tools.ietf.org/html/rfc6901) implementation that crawls even the most
|
|
55
|
+
complex [JSON Schemas](http://json-schema.org/latest/json-schema-core.html) and gives you simple, straightforward
|
|
56
|
+
JavaScript objects.
|
|
57
|
+
|
|
58
|
+
- Use **JSON** or **YAML** schemas — or even a mix of both!
|
|
59
|
+
- Supports `$ref` pointers to external files and URLs, as well
|
|
60
|
+
as [custom sources](https://apitools.dev/json-schema-ref-parser/docs/plugins/resolvers.html) such as databases
|
|
61
|
+
- Can [bundle](https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#bundlepath-options-callback) multiple
|
|
62
|
+
files into a single schema that only has _internal_ `$ref` pointers
|
|
63
|
+
- Can [dereference](https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#dereferencepath-options-callback)
|
|
64
|
+
your schema, producing a plain-old JavaScript object that's easy to work with
|
|
65
|
+
- Supports [circular references](https://apitools.dev/json-schema-ref-parser/docs/#circular-refs), nested references,
|
|
66
|
+
back-references, and cross-references between files
|
|
67
|
+
- Maintains object reference equality — `$ref` pointers to the same value always resolve to the same object
|
|
68
|
+
instance
|
|
69
|
+
- Compatible with Node LTS and beyond, and all major web browsers on Windows, Mac, and Linux
|
|
70
|
+
|
|
71
|
+
## Example
|
|
72
|
+
|
|
73
|
+
```javascript
|
|
74
|
+
import $RefParser from "@apidevtools/json-schema-ref-parser";
|
|
75
|
+
|
|
76
|
+
try {
|
|
77
|
+
await $RefParser.dereference(mySchema);
|
|
78
|
+
// note - by default, mySchema is modified in place, and the returned value is a reference to the same object
|
|
79
|
+
console.log(mySchema.definitions.person.properties.firstName);
|
|
80
|
+
|
|
81
|
+
// if you want to avoid modifying the original schema, you can disable the `mutateInputSchema` option
|
|
82
|
+
let clonedSchema = await $RefParser.dereference(mySchema, { mutateInputSchema: false });
|
|
83
|
+
console.log(clonedSchema.definitions.person.properties.firstName);
|
|
84
|
+
} catch (err) {
|
|
85
|
+
console.error(err);
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
For more detailed examples, please see the [API Documentation](https://apitools.dev/json-schema-ref-parser/docs/)
|
|
90
|
+
|
|
91
|
+
## Polyfills
|
|
92
|
+
|
|
93
|
+
If you are using Node.js < 18, you'll need a polyfill for `fetch`,
|
|
94
|
+
like [node-fetch](https://github.com/node-fetch/node-fetch):
|
|
95
|
+
|
|
96
|
+
```javascript
|
|
97
|
+
import fetch from "node-fetch";
|
|
98
|
+
|
|
99
|
+
globalThis.fetch = fetch;
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Browser support
|
|
103
|
+
|
|
104
|
+
JSON Schema $Ref Parser supports recent versions of every major web browser. Older browsers may
|
|
105
|
+
require [Babel](https://babeljs.io/) and/or [polyfills](https://babeljs.io/docs/en/next/babel-polyfill).
|
|
106
|
+
|
|
107
|
+
To use JSON Schema $Ref Parser in a browser, you'll need to use a bundling tool such
|
|
108
|
+
as [Webpack](https://webpack.js.org/), [Rollup](https://rollupjs.org/), [Parcel](https://parceljs.org/),
|
|
109
|
+
or [Browserify](http://browserify.org/). Some bundlers may require a bit of configuration, such as
|
|
110
|
+
setting `browser: true` in [rollup-plugin-resolve](https://github.com/rollup/rollup-plugin-node-resolve).
|
|
111
|
+
|
|
112
|
+
#### Webpack 5
|
|
113
|
+
|
|
114
|
+
Webpack 5 has dropped the default export of node core modules in favour of polyfills, you'll need to set them up
|
|
115
|
+
yourself ( after npm-installing them )
|
|
116
|
+
Edit your `webpack.config.js` :
|
|
117
|
+
|
|
118
|
+
```js
|
|
119
|
+
config.resolve.fallback = {
|
|
120
|
+
path: require.resolve("path-browserify"),
|
|
121
|
+
fs: require.resolve("browserify-fs"),
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
config.plugins.push(
|
|
125
|
+
new webpack.ProvidePlugin({
|
|
126
|
+
Buffer: ["buffer", "Buffer"],
|
|
127
|
+
}),
|
|
128
|
+
);
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## API Documentation
|
|
132
|
+
|
|
133
|
+
Full API documentation is available [right here](https://apitools.dev/json-schema-ref-parser/docs/)
|
|
134
|
+
|
|
135
|
+
## Contributing
|
|
136
|
+
|
|
137
|
+
I welcome any contributions, enhancements, and
|
|
138
|
+
bug-fixes. [Open an issue](https://github.com/APIDevTools/json-schema-ref-parser/issues) on GitHub
|
|
139
|
+
and [submit a pull request](https://github.com/APIDevTools/json-schema-ref-parser/pulls).
|
|
140
|
+
|
|
141
|
+
#### Building/Testing
|
|
142
|
+
|
|
143
|
+
To build/test the project locally on your computer:
|
|
144
|
+
|
|
145
|
+
1. **Clone this repo**<br>
|
|
146
|
+
`git clone https://github.com/APIDevTools/json-schema-ref-parser.git`
|
|
147
|
+
|
|
148
|
+
2. **Install dependencies**<br>
|
|
149
|
+
`yarn install`
|
|
150
|
+
|
|
151
|
+
3. **Run the tests**<br>
|
|
152
|
+
`yarn test`
|
|
153
|
+
|
|
154
|
+
## License
|
|
155
|
+
|
|
156
|
+
JSON Schema $Ref Parser is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.
|
|
157
|
+
|
|
158
|
+
This package is [Treeware](http://treeware.earth). If you use it in production, then we ask that you [**buy the world a
|
|
159
|
+
tree**](https://plant.treeware.earth/APIDevTools/json-schema-ref-parser) to thank us for our work. By contributing to
|
|
160
|
+
the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
|
|
161
|
+
|
|
162
|
+
## Big Thanks To
|
|
163
|
+
|
|
164
|
+
Thanks to these awesome companies for their support of Open Source developers ❤
|
|
165
|
+
|
|
166
|
+
[](https://stoplight.io/?utm_source=github&utm_medium=readme&utm_campaign=json_schema_ref_parser)
|
|
167
|
+
[](https://saucelabs.com)
|
|
168
|
+
[](https://coveralls.io)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type $RefParser from "./index";
|
|
2
|
+
import type { ParserOptions } from "./index";
|
|
3
|
+
import type { JSONSchema } from "./index";
|
|
4
|
+
export interface InventoryEntry {
|
|
5
|
+
$ref: any;
|
|
6
|
+
parent: any;
|
|
7
|
+
key: any;
|
|
8
|
+
pathFromRoot: any;
|
|
9
|
+
depth: any;
|
|
10
|
+
file: any;
|
|
11
|
+
hash: any;
|
|
12
|
+
value: any;
|
|
13
|
+
circular: any;
|
|
14
|
+
extended: any;
|
|
15
|
+
external: any;
|
|
16
|
+
indirections: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Bundles all external JSON references into the main JSON schema, thus resulting in a schema that
|
|
20
|
+
* only has *internal* references, not any *external* references.
|
|
21
|
+
* This method mutates the JSON schema object, adding new references and re-mapping existing ones.
|
|
22
|
+
*
|
|
23
|
+
* @param parser
|
|
24
|
+
* @param options
|
|
25
|
+
*/
|
|
26
|
+
declare function bundle<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(parser: $RefParser<S, O>, options: O): void;
|
|
27
|
+
export default bundle;
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const ref_js_1 = __importDefault(require("./ref.js"));
|
|
30
|
+
const pointer_js_1 = __importDefault(require("./pointer.js"));
|
|
31
|
+
const url = __importStar(require("./util/url.js"));
|
|
32
|
+
/**
|
|
33
|
+
* Bundles all external JSON references into the main JSON schema, thus resulting in a schema that
|
|
34
|
+
* only has *internal* references, not any *external* references.
|
|
35
|
+
* This method mutates the JSON schema object, adding new references and re-mapping existing ones.
|
|
36
|
+
*
|
|
37
|
+
* @param parser
|
|
38
|
+
* @param options
|
|
39
|
+
*/
|
|
40
|
+
function bundle(parser, options) {
|
|
41
|
+
// console.log('Bundling $ref pointers in %s', parser.$refs._root$Ref.path);
|
|
42
|
+
// Build an inventory of all $ref pointers in the JSON Schema
|
|
43
|
+
const inventory = [];
|
|
44
|
+
crawl(parser, "schema", parser.$refs._root$Ref.path + "#", "#", 0, inventory, parser.$refs, options);
|
|
45
|
+
// Remap all $ref pointers
|
|
46
|
+
remap(inventory);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Recursively crawls the given value, and inventories all JSON references.
|
|
50
|
+
*
|
|
51
|
+
* @param parent - The object containing the value to crawl. If the value is not an object or array, it will be ignored.
|
|
52
|
+
* @param key - The property key of `parent` to be crawled
|
|
53
|
+
* @param path - The full path of the property being crawled, possibly with a JSON Pointer in the hash
|
|
54
|
+
* @param pathFromRoot - The path of the property being crawled, from the schema root
|
|
55
|
+
* @param indirections
|
|
56
|
+
* @param inventory - An array of already-inventoried $ref pointers
|
|
57
|
+
* @param $refs
|
|
58
|
+
* @param options
|
|
59
|
+
*/
|
|
60
|
+
function crawl(parent, key, path, pathFromRoot, indirections, inventory, $refs, options) {
|
|
61
|
+
const obj = key === null ? parent : parent[key];
|
|
62
|
+
if (obj && typeof obj === "object" && !ArrayBuffer.isView(obj)) {
|
|
63
|
+
if (ref_js_1.default.isAllowed$Ref(obj)) {
|
|
64
|
+
inventory$Ref(parent, key, path, pathFromRoot, indirections, inventory, $refs, options);
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
// Crawl the object in a specific order that's optimized for bundling.
|
|
68
|
+
// This is important because it determines how `pathFromRoot` gets built,
|
|
69
|
+
// which later determines which keys get dereferenced and which ones get remapped
|
|
70
|
+
const keys = Object.keys(obj).sort((a, b) => {
|
|
71
|
+
// Most people will expect references to be bundled into the the "definitions" property,
|
|
72
|
+
// so we always crawl that property first, if it exists.
|
|
73
|
+
if (a === "definitions") {
|
|
74
|
+
return -1;
|
|
75
|
+
}
|
|
76
|
+
else if (b === "definitions") {
|
|
77
|
+
return 1;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
// Otherwise, crawl the keys based on their length.
|
|
81
|
+
// This produces the shortest possible bundled references
|
|
82
|
+
return a.length - b.length;
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
for (const key of keys) {
|
|
86
|
+
const keyPath = pointer_js_1.default.join(path, key);
|
|
87
|
+
const keyPathFromRoot = pointer_js_1.default.join(pathFromRoot, key);
|
|
88
|
+
const value = obj[key];
|
|
89
|
+
if (ref_js_1.default.isAllowed$Ref(value)) {
|
|
90
|
+
inventory$Ref(obj, key, path, keyPathFromRoot, indirections, inventory, $refs, options);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
crawl(obj, key, keyPath, keyPathFromRoot, indirections, inventory, $refs, options);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Inventories the given JSON Reference (i.e. records detailed information about it so we can
|
|
101
|
+
* optimize all $refs in the schema), and then crawls the resolved value.
|
|
102
|
+
*
|
|
103
|
+
* @param $refParent - The object that contains a JSON Reference as one of its keys
|
|
104
|
+
* @param $refKey - The key in `$refParent` that is a JSON Reference
|
|
105
|
+
* @param path - The full path of the JSON Reference at `$refKey`, possibly with a JSON Pointer in the hash
|
|
106
|
+
* @param indirections - unknown
|
|
107
|
+
* @param pathFromRoot - The path of the JSON Reference at `$refKey`, from the schema root
|
|
108
|
+
* @param inventory - An array of already-inventoried $ref pointers
|
|
109
|
+
* @param $refs
|
|
110
|
+
* @param options
|
|
111
|
+
*/
|
|
112
|
+
function inventory$Ref($refParent, $refKey, path, pathFromRoot, indirections, inventory, $refs, options) {
|
|
113
|
+
const $ref = $refKey === null ? $refParent : $refParent[$refKey];
|
|
114
|
+
const $refPath = url.resolve(path, $ref.$ref);
|
|
115
|
+
const pointer = $refs._resolve($refPath, pathFromRoot, options);
|
|
116
|
+
if (pointer === null) {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const parsed = pointer_js_1.default.parse(pathFromRoot);
|
|
120
|
+
const depth = parsed.length;
|
|
121
|
+
const file = url.stripHash(pointer.path);
|
|
122
|
+
const hash = url.getHash(pointer.path);
|
|
123
|
+
const external = file !== $refs._root$Ref.path;
|
|
124
|
+
const extended = ref_js_1.default.isExtended$Ref($ref);
|
|
125
|
+
indirections += pointer.indirections;
|
|
126
|
+
const existingEntry = findInInventory(inventory, $refParent, $refKey);
|
|
127
|
+
if (existingEntry) {
|
|
128
|
+
// This $Ref has already been inventoried, so we don't need to process it again
|
|
129
|
+
if (depth < existingEntry.depth || indirections < existingEntry.indirections) {
|
|
130
|
+
removeFromInventory(inventory, existingEntry);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
inventory.push({
|
|
137
|
+
$ref, // The JSON Reference (e.g. {$ref: string})
|
|
138
|
+
parent: $refParent, // The object that contains this $ref pointer
|
|
139
|
+
key: $refKey, // The key in `parent` that is the $ref pointer
|
|
140
|
+
pathFromRoot, // The path to the $ref pointer, from the JSON Schema root
|
|
141
|
+
depth, // How far from the JSON Schema root is this $ref pointer?
|
|
142
|
+
file, // The file that the $ref pointer resolves to
|
|
143
|
+
hash, // The hash within `file` that the $ref pointer resolves to
|
|
144
|
+
value: pointer.value, // The resolved value of the $ref pointer
|
|
145
|
+
circular: pointer.circular, // Is this $ref pointer DIRECTLY circular? (i.e. it references itself)
|
|
146
|
+
extended, // Does this $ref extend its resolved value? (i.e. it has extra properties, in addition to "$ref")
|
|
147
|
+
external, // Does this $ref pointer point to a file other than the main JSON Schema file?
|
|
148
|
+
indirections, // The number of indirect references that were traversed to resolve the value
|
|
149
|
+
});
|
|
150
|
+
// Recursively crawl the resolved value
|
|
151
|
+
if (!existingEntry || external) {
|
|
152
|
+
crawl(pointer.value, null, pointer.path, pathFromRoot, indirections + 1, inventory, $refs, options);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Re-maps every $ref pointer, so that they're all relative to the root of the JSON Schema.
|
|
157
|
+
* Each referenced value is dereferenced EXACTLY ONCE. All subsequent references to the same
|
|
158
|
+
* value are re-mapped to point to the first reference.
|
|
159
|
+
*
|
|
160
|
+
* @example: {
|
|
161
|
+
* first: { $ref: somefile.json#/some/part },
|
|
162
|
+
* second: { $ref: somefile.json#/another/part },
|
|
163
|
+
* third: { $ref: somefile.json },
|
|
164
|
+
* fourth: { $ref: somefile.json#/some/part/sub/part }
|
|
165
|
+
* }
|
|
166
|
+
*
|
|
167
|
+
* In this example, there are four references to the same file, but since the third reference points
|
|
168
|
+
* to the ENTIRE file, that's the only one we need to dereference. The other three can just be
|
|
169
|
+
* remapped to point inside the third one.
|
|
170
|
+
*
|
|
171
|
+
* On the other hand, if the third reference DIDN'T exist, then the first and second would both need
|
|
172
|
+
* to be dereferenced, since they point to different parts of the file. The fourth reference does NOT
|
|
173
|
+
* need to be dereferenced, because it can be remapped to point inside the first one.
|
|
174
|
+
*
|
|
175
|
+
* @param inventory
|
|
176
|
+
*/
|
|
177
|
+
function remap(inventory) {
|
|
178
|
+
// Group & sort all the $ref pointers, so they're in the order that we need to dereference/remap them
|
|
179
|
+
inventory.sort((a, b) => {
|
|
180
|
+
if (a.file !== b.file) {
|
|
181
|
+
// Group all the $refs that point to the same file
|
|
182
|
+
return a.file < b.file ? -1 : +1;
|
|
183
|
+
}
|
|
184
|
+
else if (a.hash !== b.hash) {
|
|
185
|
+
// Group all the $refs that point to the same part of the file
|
|
186
|
+
return a.hash < b.hash ? -1 : +1;
|
|
187
|
+
}
|
|
188
|
+
else if (a.circular !== b.circular) {
|
|
189
|
+
// If the $ref points to itself, then sort it higher than other $refs that point to this $ref
|
|
190
|
+
return a.circular ? -1 : +1;
|
|
191
|
+
}
|
|
192
|
+
else if (a.extended !== b.extended) {
|
|
193
|
+
// If the $ref extends the resolved value, then sort it lower than other $refs that don't extend the value
|
|
194
|
+
return a.extended ? +1 : -1;
|
|
195
|
+
}
|
|
196
|
+
else if (a.indirections !== b.indirections) {
|
|
197
|
+
// Sort direct references higher than indirect references
|
|
198
|
+
return a.indirections - b.indirections;
|
|
199
|
+
}
|
|
200
|
+
else if (a.depth !== b.depth) {
|
|
201
|
+
// Sort $refs by how close they are to the JSON Schema root
|
|
202
|
+
return a.depth - b.depth;
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
// Determine how far each $ref is from the "definitions" property.
|
|
206
|
+
// Most people will expect references to be bundled into the the "definitions" property if possible.
|
|
207
|
+
const aDefinitionsIndex = a.pathFromRoot.lastIndexOf("/definitions");
|
|
208
|
+
const bDefinitionsIndex = b.pathFromRoot.lastIndexOf("/definitions");
|
|
209
|
+
if (aDefinitionsIndex !== bDefinitionsIndex) {
|
|
210
|
+
// Give higher priority to the $ref that's closer to the "definitions" property
|
|
211
|
+
return bDefinitionsIndex - aDefinitionsIndex;
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
// All else is equal, so use the shorter path, which will produce the shortest possible reference
|
|
215
|
+
return a.pathFromRoot.length - b.pathFromRoot.length;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
let file, hash, pathFromRoot;
|
|
220
|
+
for (const entry of inventory) {
|
|
221
|
+
// console.log('Re-mapping $ref pointer "%s" at %s', entry.$ref.$ref, entry.pathFromRoot);
|
|
222
|
+
if (!entry.external) {
|
|
223
|
+
// This $ref already resolves to the main JSON Schema file
|
|
224
|
+
entry.$ref.$ref = entry.hash;
|
|
225
|
+
}
|
|
226
|
+
else if (entry.file === file && entry.hash === hash) {
|
|
227
|
+
// This $ref points to the same value as the prevous $ref, so remap it to the same path
|
|
228
|
+
entry.$ref.$ref = pathFromRoot;
|
|
229
|
+
}
|
|
230
|
+
else if (entry.file === file && entry.hash.indexOf(hash + "/") === 0) {
|
|
231
|
+
// This $ref points to a sub-value of the prevous $ref, so remap it beneath that path
|
|
232
|
+
entry.$ref.$ref = pointer_js_1.default.join(pathFromRoot, pointer_js_1.default.parse(entry.hash.replace(hash, "#")));
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
// We've moved to a new file or new hash
|
|
236
|
+
file = entry.file;
|
|
237
|
+
hash = entry.hash;
|
|
238
|
+
pathFromRoot = entry.pathFromRoot;
|
|
239
|
+
// This is the first $ref to point to this value, so dereference the value.
|
|
240
|
+
// Any other $refs that point to the same value will point to this $ref instead
|
|
241
|
+
entry.$ref = entry.parent[entry.key] = ref_js_1.default.dereference(entry.$ref, entry.value);
|
|
242
|
+
if (entry.circular) {
|
|
243
|
+
// This $ref points to itself
|
|
244
|
+
entry.$ref.$ref = entry.pathFromRoot;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
// we want to ensure that any $refs that point to another $ref are remapped to point to the final value
|
|
249
|
+
// let hadChange = true;
|
|
250
|
+
// while (hadChange) {
|
|
251
|
+
// hadChange = false;
|
|
252
|
+
// for (const entry of inventory) {
|
|
253
|
+
// if (entry.$ref && typeof entry.$ref === "object" && "$ref" in entry.$ref) {
|
|
254
|
+
// const resolved = inventory.find((e: InventoryEntry) => e.pathFromRoot === entry.$ref.$ref);
|
|
255
|
+
// if (resolved) {
|
|
256
|
+
// const resolvedPointsToAnotherRef =
|
|
257
|
+
// resolved.$ref && typeof resolved.$ref === "object" && "$ref" in resolved.$ref;
|
|
258
|
+
// if (resolvedPointsToAnotherRef && entry.$ref.$ref !== resolved.$ref.$ref) {
|
|
259
|
+
// // console.log('Re-mapping $ref pointer "%s" at %s', entry.$ref.$ref, entry.pathFromRoot);
|
|
260
|
+
// entry.$ref.$ref = resolved.$ref.$ref;
|
|
261
|
+
// hadChange = true;
|
|
262
|
+
// }
|
|
263
|
+
// }
|
|
264
|
+
// }
|
|
265
|
+
// }
|
|
266
|
+
// }
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* TODO
|
|
270
|
+
*/
|
|
271
|
+
function findInInventory(inventory, $refParent, $refKey) {
|
|
272
|
+
for (const existingEntry of inventory) {
|
|
273
|
+
if (existingEntry && existingEntry.parent === $refParent && existingEntry.key === $refKey) {
|
|
274
|
+
return existingEntry;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return undefined;
|
|
278
|
+
}
|
|
279
|
+
function removeFromInventory(inventory, entry) {
|
|
280
|
+
const index = inventory.indexOf(entry);
|
|
281
|
+
inventory.splice(index, 1);
|
|
282
|
+
}
|
|
283
|
+
exports.default = bundle;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ParserOptions } from "./options.js";
|
|
2
|
+
import type { JSONSchema } from "./types";
|
|
3
|
+
import type $RefParser from "./index";
|
|
4
|
+
export default dereference;
|
|
5
|
+
/**
|
|
6
|
+
* Crawls the JSON schema, finds all JSON references, and dereferences them.
|
|
7
|
+
* This method mutates the JSON schema object, replacing JSON references with their resolved value.
|
|
8
|
+
*
|
|
9
|
+
* @param parser
|
|
10
|
+
* @param options
|
|
11
|
+
*/
|
|
12
|
+
declare function dereference<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(parser: $RefParser<S, O>, options: O): void;
|