@nocobase/plugin-mcp-server 2.1.0-alpha.16 → 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
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { ono } from "@jsdevtools/ono";
|
|
2
|
+
import $Ref from "./ref.js";
|
|
3
|
+
import * as url from "./util/url.js";
|
|
4
|
+
import type { JSONSchema4Type, JSONSchema6Type, JSONSchema7Type } from "json-schema";
|
|
5
|
+
import type { ParserOptions } from "./options.js";
|
|
6
|
+
import convertPathToPosix from "./util/convert-path-to-posix";
|
|
7
|
+
import type { JSONSchema } from "./types";
|
|
8
|
+
|
|
9
|
+
interface $RefsMap<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>> {
|
|
10
|
+
[url: string]: $Ref<S, O>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* When you call the resolve method, the value that gets passed to the callback function (or Promise) is a $Refs object. This same object is accessible via the parser.$refs property of $RefParser objects.
|
|
14
|
+
*
|
|
15
|
+
* This object is a map of JSON References and their resolved values. It also has several convenient helper methods that make it easy for you to navigate and manipulate the JSON References.
|
|
16
|
+
*
|
|
17
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html
|
|
18
|
+
*/
|
|
19
|
+
export default class $Refs<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>> {
|
|
20
|
+
/**
|
|
21
|
+
* This property is true if the schema contains any circular references. You may want to check this property before serializing the dereferenced schema as JSON, since JSON.stringify() does not support circular references by default.
|
|
22
|
+
*
|
|
23
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#circular
|
|
24
|
+
*/
|
|
25
|
+
public circular: boolean;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Returns the paths/URLs of all the files in your schema (including the main schema file).
|
|
29
|
+
*
|
|
30
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#pathstypes
|
|
31
|
+
*
|
|
32
|
+
* @param types (optional) Optionally only return certain types of paths ("file", "http", etc.)
|
|
33
|
+
*/
|
|
34
|
+
paths(...types: (string | string[])[]): string[] {
|
|
35
|
+
const paths = getPaths(this._$refs, types.flat());
|
|
36
|
+
return paths.map((path) => {
|
|
37
|
+
return convertPathToPosix(path.decoded);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Returns a map of paths/URLs and their correspond values.
|
|
43
|
+
*
|
|
44
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#valuestypes
|
|
45
|
+
*
|
|
46
|
+
* @param types (optional) Optionally only return values from certain locations ("file", "http", etc.)
|
|
47
|
+
*/
|
|
48
|
+
values(...types: (string | string[])[]): S {
|
|
49
|
+
const $refs = this._$refs;
|
|
50
|
+
const paths = getPaths($refs, types.flat());
|
|
51
|
+
return paths.reduce<Record<string, any>>((obj, path) => {
|
|
52
|
+
obj[convertPathToPosix(path.decoded)] = $refs[path.encoded].value;
|
|
53
|
+
return obj;
|
|
54
|
+
}, {}) as S;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Returns `true` if the given path exists in the schema; otherwise, returns `false`
|
|
59
|
+
*
|
|
60
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#existsref
|
|
61
|
+
*
|
|
62
|
+
* @param $ref The JSON Reference path, optionally with a JSON Pointer in the hash
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Determines whether the given JSON reference exists.
|
|
66
|
+
*
|
|
67
|
+
* @param path - The path being resolved, optionally with a JSON pointer in the hash
|
|
68
|
+
* @param [options]
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
exists(path: string, options: any) {
|
|
72
|
+
try {
|
|
73
|
+
this._resolve(path, "", options);
|
|
74
|
+
return true;
|
|
75
|
+
} catch {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Resolves the given JSON reference and returns the resolved value.
|
|
82
|
+
*
|
|
83
|
+
* @param path - The path being resolved, with a JSON pointer in the hash
|
|
84
|
+
* @param [options]
|
|
85
|
+
* @returns - Returns the resolved value
|
|
86
|
+
*/
|
|
87
|
+
get(path: string, options?: O): JSONSchema4Type | JSONSchema6Type | JSONSchema7Type {
|
|
88
|
+
return this._resolve(path, "", options)!.value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Sets the value at the given path in the schema. If the property, or any of its parents, don't exist, they will be created.
|
|
93
|
+
*
|
|
94
|
+
* @param path The JSON Reference path, optionally with a JSON Pointer in the hash
|
|
95
|
+
* @param value The value to assign. Can be anything (object, string, number, etc.)
|
|
96
|
+
*/
|
|
97
|
+
set(path: string, value: JSONSchema4Type | JSONSchema6Type | JSONSchema7Type) {
|
|
98
|
+
const absPath = url.resolve(this._root$Ref.path!, path);
|
|
99
|
+
const withoutHash = url.stripHash(absPath);
|
|
100
|
+
const $ref = this._$refs[withoutHash];
|
|
101
|
+
|
|
102
|
+
if (!$ref) {
|
|
103
|
+
throw ono(`Error resolving $ref pointer "${path}". \n"${withoutHash}" not found.`);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
$ref.set(absPath, value);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Returns the specified {@link $Ref} object, or undefined.
|
|
110
|
+
*
|
|
111
|
+
* @param path - The path being resolved, optionally with a JSON pointer in the hash
|
|
112
|
+
* @returns
|
|
113
|
+
* @protected
|
|
114
|
+
*/
|
|
115
|
+
_get$Ref(path: string) {
|
|
116
|
+
path = url.resolve(this._root$Ref.path!, path);
|
|
117
|
+
const withoutHash = url.stripHash(path);
|
|
118
|
+
return this._$refs[withoutHash];
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Creates a new {@link $Ref} object and adds it to this {@link $Refs} object.
|
|
123
|
+
*
|
|
124
|
+
* @param path - The file path or URL of the referenced file
|
|
125
|
+
*/
|
|
126
|
+
_add(path: string) {
|
|
127
|
+
const withoutHash = url.stripHash(path);
|
|
128
|
+
|
|
129
|
+
const $ref = new $Ref<S, O>(this);
|
|
130
|
+
$ref.path = withoutHash;
|
|
131
|
+
|
|
132
|
+
this._$refs[withoutHash] = $ref;
|
|
133
|
+
this._root$Ref = this._root$Ref || $ref;
|
|
134
|
+
|
|
135
|
+
return $ref;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Resolves the given JSON reference.
|
|
140
|
+
*
|
|
141
|
+
* @param path - The path being resolved, optionally with a JSON pointer in the hash
|
|
142
|
+
* @param pathFromRoot - The path of `obj` from the schema root
|
|
143
|
+
* @param [options]
|
|
144
|
+
* @returns
|
|
145
|
+
* @protected
|
|
146
|
+
*/
|
|
147
|
+
_resolve(path: string, pathFromRoot: string, options?: O) {
|
|
148
|
+
const absPath = url.resolve(this._root$Ref.path!, path);
|
|
149
|
+
const withoutHash = url.stripHash(absPath);
|
|
150
|
+
const $ref = this._$refs[withoutHash];
|
|
151
|
+
|
|
152
|
+
if (!$ref) {
|
|
153
|
+
throw ono(`Error resolving $ref pointer "${path}". \n"${withoutHash}" not found.`);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return $ref.resolve(absPath, options, path, pathFromRoot);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* A map of paths/urls to {@link $Ref} objects
|
|
161
|
+
*
|
|
162
|
+
* @type {object}
|
|
163
|
+
* @protected
|
|
164
|
+
*/
|
|
165
|
+
_$refs: $RefsMap<S, O> = {};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The {@link $Ref} object that is the root of the JSON schema.
|
|
169
|
+
*
|
|
170
|
+
* @type {$Ref}
|
|
171
|
+
* @protected
|
|
172
|
+
*/
|
|
173
|
+
_root$Ref: $Ref<S, O>;
|
|
174
|
+
|
|
175
|
+
constructor() {
|
|
176
|
+
/**
|
|
177
|
+
* Indicates whether the schema contains any circular references.
|
|
178
|
+
*
|
|
179
|
+
* @type {boolean}
|
|
180
|
+
*/
|
|
181
|
+
this.circular = false;
|
|
182
|
+
|
|
183
|
+
this._$refs = {};
|
|
184
|
+
|
|
185
|
+
// @ts-ignore
|
|
186
|
+
this._root$Ref = null;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Returns the paths of all the files/URLs that are referenced by the JSON schema,
|
|
191
|
+
* including the schema itself.
|
|
192
|
+
*
|
|
193
|
+
* @param [types] - Only return paths of the given types ("file", "http", etc.)
|
|
194
|
+
* @returns
|
|
195
|
+
*/
|
|
196
|
+
/**
|
|
197
|
+
* Returns the map of JSON references and their resolved values.
|
|
198
|
+
*
|
|
199
|
+
* @param [types] - Only return references of the given types ("file", "http", etc.)
|
|
200
|
+
* @returns
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Returns a POJO (plain old JavaScript object) for serialization as JSON.
|
|
205
|
+
*
|
|
206
|
+
* @returns {object}
|
|
207
|
+
*/
|
|
208
|
+
toJSON = this.values;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Returns the encoded and decoded paths keys of the given object.
|
|
213
|
+
*
|
|
214
|
+
* @param $refs - The object whose keys are URL-encoded paths
|
|
215
|
+
* @param [types] - Only return paths of the given types ("file", "http", etc.)
|
|
216
|
+
* @returns
|
|
217
|
+
*/
|
|
218
|
+
function getPaths<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(
|
|
219
|
+
$refs: $RefsMap<S, O>,
|
|
220
|
+
types: string[],
|
|
221
|
+
) {
|
|
222
|
+
let paths = Object.keys($refs);
|
|
223
|
+
|
|
224
|
+
// Filter the paths by type
|
|
225
|
+
types = Array.isArray(types[0]) ? types[0] : Array.prototype.slice.call(types);
|
|
226
|
+
if (types.length > 0 && types[0]) {
|
|
227
|
+
paths = paths.filter((key) => {
|
|
228
|
+
return types.includes($refs[key].pathType as string);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// Decode local filesystem paths
|
|
233
|
+
return paths.map((path) => {
|
|
234
|
+
return {
|
|
235
|
+
encoded: path,
|
|
236
|
+
decoded: $refs[path].pathType === "file" ? url.toFileSystemPath(path, true) : path,
|
|
237
|
+
};
|
|
238
|
+
});
|
|
239
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import $Ref from "./ref.js";
|
|
2
|
+
import Pointer from "./pointer.js";
|
|
3
|
+
import parse from "./parse.js";
|
|
4
|
+
import * as url from "./util/url.js";
|
|
5
|
+
import { isHandledError } from "./util/errors.js";
|
|
6
|
+
import type $Refs from "./refs.js";
|
|
7
|
+
import type { ParserOptions } from "./options.js";
|
|
8
|
+
import type { JSONSchema } from "./types/index.js";
|
|
9
|
+
import type $RefParser from "./index.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Crawls the JSON schema, finds all external JSON references, and resolves their values.
|
|
13
|
+
* This method does not mutate the JSON schema. The resolved values are added to {@link $RefParser#$refs}.
|
|
14
|
+
*
|
|
15
|
+
* NOTE: We only care about EXTERNAL references here. INTERNAL references are only relevant when dereferencing.
|
|
16
|
+
*
|
|
17
|
+
* @returns
|
|
18
|
+
* The promise resolves once all JSON references in the schema have been resolved,
|
|
19
|
+
* including nested references that are contained in externally-referenced files.
|
|
20
|
+
*/
|
|
21
|
+
function resolveExternal<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(
|
|
22
|
+
parser: $RefParser<S, O>,
|
|
23
|
+
options: O,
|
|
24
|
+
) {
|
|
25
|
+
if (!options.resolve?.external) {
|
|
26
|
+
// Nothing to resolve, so exit early
|
|
27
|
+
return Promise.resolve();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
try {
|
|
31
|
+
// console.log('Resolving $ref pointers in %s', parser.$refs._root$Ref.path);
|
|
32
|
+
const promises = crawl(parser.schema, parser.$refs._root$Ref.path + "#", parser.$refs, options);
|
|
33
|
+
return Promise.all(promises);
|
|
34
|
+
} catch (e) {
|
|
35
|
+
return Promise.reject(e);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Recursively crawls the given value, and resolves any external JSON references.
|
|
41
|
+
*
|
|
42
|
+
* @param obj - The value to crawl. If it's not an object or array, it will be ignored.
|
|
43
|
+
* @param path - The full path of `obj`, possibly with a JSON Pointer in the hash
|
|
44
|
+
* @param {boolean} external - Whether `obj` was found in an external document.
|
|
45
|
+
* @param $refs
|
|
46
|
+
* @param options
|
|
47
|
+
* @param seen - Internal.
|
|
48
|
+
*
|
|
49
|
+
* @returns
|
|
50
|
+
* Returns an array of promises. There will be one promise for each JSON reference in `obj`.
|
|
51
|
+
* If `obj` does not contain any JSON references, then the array will be empty.
|
|
52
|
+
* If any of the JSON references point to files that contain additional JSON references,
|
|
53
|
+
* then the corresponding promise will internally reference an array of promises.
|
|
54
|
+
*/
|
|
55
|
+
function crawl<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(
|
|
56
|
+
obj: string | Buffer | S | undefined | null,
|
|
57
|
+
path: string,
|
|
58
|
+
$refs: $Refs<S, O>,
|
|
59
|
+
options: O,
|
|
60
|
+
seen?: Set<any>,
|
|
61
|
+
external?: boolean,
|
|
62
|
+
) {
|
|
63
|
+
seen ||= new Set();
|
|
64
|
+
let promises: any = [];
|
|
65
|
+
|
|
66
|
+
if (obj && typeof obj === "object" && !ArrayBuffer.isView(obj) && !seen.has(obj)) {
|
|
67
|
+
seen.add(obj); // Track previously seen objects to avoid infinite recursion
|
|
68
|
+
if ($Ref.isExternal$Ref(obj)) {
|
|
69
|
+
promises.push(resolve$Ref<S, O>(obj, path, $refs, options));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
const keys = Object.keys(obj) as string[];
|
|
73
|
+
for (const key of keys) {
|
|
74
|
+
const keyPath = Pointer.join(path, key);
|
|
75
|
+
const value = obj[key as keyof typeof obj] as string | JSONSchema | Buffer | undefined;
|
|
76
|
+
promises = promises.concat(crawl(value, keyPath, $refs, options, seen, external));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return promises;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Resolves the given JSON Reference, and then crawls the resulting value.
|
|
85
|
+
*
|
|
86
|
+
* @param $ref - The JSON Reference to resolve
|
|
87
|
+
* @param path - The full path of `$ref`, possibly with a JSON Pointer in the hash
|
|
88
|
+
* @param $refs
|
|
89
|
+
* @param options
|
|
90
|
+
*
|
|
91
|
+
* @returns
|
|
92
|
+
* The promise resolves once all JSON references in the object have been resolved,
|
|
93
|
+
* including nested references that are contained in externally-referenced files.
|
|
94
|
+
*/
|
|
95
|
+
async function resolve$Ref<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>>(
|
|
96
|
+
$ref: S,
|
|
97
|
+
path: string,
|
|
98
|
+
$refs: $Refs<S, O>,
|
|
99
|
+
options: O,
|
|
100
|
+
) {
|
|
101
|
+
const shouldResolveOnCwd = options.dereference?.externalReferenceResolution === "root";
|
|
102
|
+
const resolvedPath = url.resolve(shouldResolveOnCwd ? url.cwd() : path, ($ref as JSONSchema).$ref!);
|
|
103
|
+
const withoutHash = url.stripHash(resolvedPath);
|
|
104
|
+
|
|
105
|
+
// $ref.$ref = url.relative($refs._root$Ref.path, resolvedPath);
|
|
106
|
+
|
|
107
|
+
// Do we already have this $ref?
|
|
108
|
+
const ref = $refs._$refs[withoutHash];
|
|
109
|
+
if (ref) {
|
|
110
|
+
// We've already parsed this $ref, so use the existing value
|
|
111
|
+
return Promise.resolve(ref.value);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Parse the $referenced file/url
|
|
115
|
+
try {
|
|
116
|
+
const result = await parse(resolvedPath, $refs, options);
|
|
117
|
+
|
|
118
|
+
// Crawl the parsed value
|
|
119
|
+
// console.log('Resolving $ref pointers in %s', withoutHash);
|
|
120
|
+
const promises = crawl(result, withoutHash + "#", $refs, options, new Set(), true);
|
|
121
|
+
|
|
122
|
+
return Promise.all(promises);
|
|
123
|
+
} catch (err) {
|
|
124
|
+
if (!options?.continueOnError || !isHandledError(err)) {
|
|
125
|
+
throw err;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if ($refs._$refs[withoutHash]) {
|
|
129
|
+
err.source = decodeURI(url.stripHash(path));
|
|
130
|
+
err.path = url.safePointerToPath(url.getHash(path));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return [];
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
export default resolveExternal;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import { ono } from "@jsdevtools/ono";
|
|
3
|
+
import * as url from "../util/url.js";
|
|
4
|
+
import { ResolverError } from "../util/errors.js";
|
|
5
|
+
import type { JSONSchema, ResolverOptions } from "../types/index.js";
|
|
6
|
+
import type { FileInfo } from "../types/index.js";
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
/**
|
|
10
|
+
* The order that this resolver will run, in relation to other resolvers.
|
|
11
|
+
*/
|
|
12
|
+
order: 100,
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Determines whether this resolver can read a given file reference.
|
|
16
|
+
* Resolvers that return true will be tried, in order, until one successfully resolves the file.
|
|
17
|
+
* Resolvers that return false will not be given a chance to resolve the file.
|
|
18
|
+
*/
|
|
19
|
+
canRead(file: FileInfo) {
|
|
20
|
+
return url.isFileSystemPath(file.url);
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Reads the given file and returns its raw contents as a Buffer.
|
|
25
|
+
*/
|
|
26
|
+
async read(file: FileInfo): Promise<Buffer> {
|
|
27
|
+
let path: string | undefined;
|
|
28
|
+
try {
|
|
29
|
+
path = url.toFileSystemPath(file.url);
|
|
30
|
+
} catch (err: any) {
|
|
31
|
+
throw new ResolverError(ono.uri(err, `Malformed URI: ${file.url}`), file.url);
|
|
32
|
+
}
|
|
33
|
+
try {
|
|
34
|
+
return await fs.promises.readFile(path);
|
|
35
|
+
} catch (err: any) {
|
|
36
|
+
throw new ResolverError(ono(err, `Error opening file "${path}"`), path);
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
} as ResolverOptions<JSONSchema>;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ono } from "@jsdevtools/ono";
|
|
2
|
+
import * as url from "../util/url.js";
|
|
3
|
+
import { ResolverError } from "../util/errors.js";
|
|
4
|
+
import type { FileInfo, HTTPResolverOptions, JSONSchema } from "../types/index.js";
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
/**
|
|
8
|
+
* The order that this resolver will run, in relation to other resolvers.
|
|
9
|
+
*/
|
|
10
|
+
order: 200,
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* HTTP headers to send when downloading files.
|
|
14
|
+
*
|
|
15
|
+
* @example:
|
|
16
|
+
* {
|
|
17
|
+
* "User-Agent": "JSON Schema $Ref Parser",
|
|
18
|
+
* Accept: "application/json"
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
headers: null,
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* HTTP request timeout (in milliseconds).
|
|
25
|
+
*/
|
|
26
|
+
timeout: 60_000, // 60 seconds
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The maximum number of HTTP redirects to follow.
|
|
30
|
+
* To disable automatic following of redirects, set this to zero.
|
|
31
|
+
*/
|
|
32
|
+
redirects: 5,
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The `withCredentials` option of XMLHttpRequest.
|
|
36
|
+
* Set this to `true` if you're downloading files from a CORS-enabled server that requires authentication
|
|
37
|
+
*/
|
|
38
|
+
withCredentials: false,
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Determines whether this resolver can read a given file reference.
|
|
42
|
+
* Resolvers that return true will be tried in order, until one successfully resolves the file.
|
|
43
|
+
* Resolvers that return false will not be given a chance to resolve the file.
|
|
44
|
+
*/
|
|
45
|
+
canRead(file: FileInfo) {
|
|
46
|
+
return url.isHttp(file.url);
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Reads the given URL and returns its raw contents as a Buffer.
|
|
51
|
+
*/
|
|
52
|
+
read(file: FileInfo) {
|
|
53
|
+
const u = url.parse(file.url);
|
|
54
|
+
|
|
55
|
+
if (typeof window !== "undefined" && !u.protocol) {
|
|
56
|
+
// Use the protocol of the current page
|
|
57
|
+
u.protocol = url.parse(location.href).protocol;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return download(u, this);
|
|
61
|
+
},
|
|
62
|
+
} as HTTPResolverOptions<JSONSchema>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Downloads the given file.
|
|
66
|
+
* @returns
|
|
67
|
+
* The promise resolves with the raw downloaded data, or rejects if there is an HTTP error.
|
|
68
|
+
*/
|
|
69
|
+
async function download<S extends object = JSONSchema>(
|
|
70
|
+
u: URL | string,
|
|
71
|
+
httpOptions: HTTPResolverOptions<S>,
|
|
72
|
+
_redirects?: string[],
|
|
73
|
+
): Promise<Buffer> {
|
|
74
|
+
u = url.parse(u);
|
|
75
|
+
const redirects = _redirects || [];
|
|
76
|
+
redirects.push(u.href);
|
|
77
|
+
|
|
78
|
+
try {
|
|
79
|
+
const res = await get(u, httpOptions);
|
|
80
|
+
if (res.status >= 400) {
|
|
81
|
+
throw ono({ status: res.status }, `HTTP ERROR ${res.status}`);
|
|
82
|
+
} else if (res.status >= 300) {
|
|
83
|
+
if (!Number.isNaN(httpOptions.redirects) && redirects.length > httpOptions.redirects!) {
|
|
84
|
+
throw new ResolverError(
|
|
85
|
+
ono(
|
|
86
|
+
{ status: res.status },
|
|
87
|
+
`Error downloading ${redirects[0]}. \nToo many redirects: \n ${redirects.join(" \n ")}`,
|
|
88
|
+
),
|
|
89
|
+
);
|
|
90
|
+
} else if (!("location" in res.headers) || !res.headers.location) {
|
|
91
|
+
throw ono({ status: res.status }, `HTTP ${res.status} redirect with no location header`);
|
|
92
|
+
} else {
|
|
93
|
+
const redirectTo = url.resolve(u.href, res.headers.location as string);
|
|
94
|
+
return download(redirectTo, httpOptions, redirects);
|
|
95
|
+
}
|
|
96
|
+
} else {
|
|
97
|
+
if (res.body) {
|
|
98
|
+
const buf = await res.arrayBuffer();
|
|
99
|
+
return Buffer.from(buf);
|
|
100
|
+
}
|
|
101
|
+
return Buffer.alloc(0);
|
|
102
|
+
}
|
|
103
|
+
} catch (err: any) {
|
|
104
|
+
throw new ResolverError(ono(err, `Error downloading ${u.href}`), u.href);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Sends an HTTP GET request.
|
|
110
|
+
* The promise resolves with the HTTP Response object.
|
|
111
|
+
*/
|
|
112
|
+
async function get<S extends object = JSONSchema>(u: RequestInfo | URL, httpOptions: HTTPResolverOptions<S>) {
|
|
113
|
+
let controller: any;
|
|
114
|
+
let timeoutId: any;
|
|
115
|
+
if (httpOptions.timeout) {
|
|
116
|
+
controller = new AbortController();
|
|
117
|
+
timeoutId = setTimeout(() => controller.abort(), httpOptions.timeout);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const response = await fetch(u, {
|
|
121
|
+
method: "GET",
|
|
122
|
+
headers: httpOptions.headers || {},
|
|
123
|
+
credentials: httpOptions.withCredentials ? "include" : "same-origin",
|
|
124
|
+
signal: controller ? controller.signal : null,
|
|
125
|
+
});
|
|
126
|
+
if (timeoutId) {
|
|
127
|
+
clearTimeout(timeoutId);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return response;
|
|
131
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
JSONSchema4,
|
|
3
|
+
JSONSchema4Object,
|
|
4
|
+
JSONSchema6,
|
|
5
|
+
JSONSchema6Object,
|
|
6
|
+
JSONSchema7,
|
|
7
|
+
JSONSchema7Object,
|
|
8
|
+
} from "json-schema";
|
|
9
|
+
import type $Refs from "../refs.js";
|
|
10
|
+
import type { ParserOptions } from "../options";
|
|
11
|
+
|
|
12
|
+
export type JSONSchema = JSONSchema4 | JSONSchema6 | JSONSchema7;
|
|
13
|
+
export type JSONSchemaObject = JSONSchema4Object | JSONSchema6Object | JSONSchema7Object;
|
|
14
|
+
export type SchemaCallback<S extends object = JSONSchema> = (err: Error | null, schema?: S | object | null) => any;
|
|
15
|
+
export type $RefsCallback<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>> = (
|
|
16
|
+
err: Error | null,
|
|
17
|
+
$refs?: $Refs<S, O>,
|
|
18
|
+
) => any;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/options.html
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
export interface HTTPResolverOptions<S extends object = JSONSchema> extends Partial<ResolverOptions<S>> {
|
|
25
|
+
/**
|
|
26
|
+
* You can specify any HTTP headers that should be sent when downloading files. For example, some servers may require you to set the `Accept` or `Referrer` header.
|
|
27
|
+
*/
|
|
28
|
+
headers?: RequestInit["headers"] | null;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The amount of time (in milliseconds) to wait for a response from the server when downloading files. The default is 5 seconds.
|
|
32
|
+
*/
|
|
33
|
+
timeout?: number;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The maximum number of HTTP redirects to follow per file. The default is 5. To disable automatic following of redirects, set this to zero.
|
|
37
|
+
*/
|
|
38
|
+
redirects?: number;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Set this to `true` if you're downloading files from a CORS-enabled server that requires authentication
|
|
42
|
+
*/
|
|
43
|
+
withCredentials?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* JSON Schema `$Ref` Parser comes with built-in resolvers for HTTP and HTTPS URLs, as well as local filesystem paths (when running in Node.js). You can add your own custom resolvers to support additional protocols, or even replace any of the built-in resolvers with your own custom implementation.
|
|
48
|
+
*
|
|
49
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/plugins/resolvers.html
|
|
50
|
+
*/
|
|
51
|
+
export interface ResolverOptions<S extends object = JSONSchema> {
|
|
52
|
+
name?: string;
|
|
53
|
+
/**
|
|
54
|
+
* All resolvers have an order property, even the built-in resolvers. If you don't specify an order property, then your resolver will run last. Specifying `order: 1`, like we did in this example, will make your resolver run first. Or you can squeeze your resolver in-between some of the built-in resolvers. For example, `order: 101` would make it run after the file resolver, but before the HTTP resolver. You can see the order of all the built-in resolvers by looking at their source code.
|
|
55
|
+
*
|
|
56
|
+
* The order property and canRead property are related to each other. For each file that JSON Schema $Ref Parser needs to resolve, it first determines which resolvers can read that file by checking their canRead property. If only one resolver matches a file, then only that one resolver is called, regardless of its order. If multiple resolvers match a file, then those resolvers are tried in order until one of them successfully reads the file. Once a resolver successfully reads the file, the rest of the resolvers are skipped.
|
|
57
|
+
*/
|
|
58
|
+
order?: number;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The `canRead` property tells JSON Schema `$Ref` Parser what kind of files your resolver can read. In this example, we've simply specified a regular expression that matches "mogodb://" URLs, but we could have used a simple boolean, or even a function with custom logic to determine which files to resolve. Here are examples of each approach:
|
|
62
|
+
*/
|
|
63
|
+
canRead: boolean | RegExp | string | string[] | ((file: FileInfo) => boolean);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* This is where the real work of a resolver happens. The `read` method accepts the same file info object as the `canRead` function, but rather than returning a boolean value, the `read` method should return the contents of the file. The file contents should be returned in as raw a form as possible, such as a string or a byte array. Any further parsing or processing should be done by parsers.
|
|
67
|
+
*
|
|
68
|
+
* Unlike the `canRead` function, the `read` method can also be asynchronous. This might be important if your resolver needs to read data from a database or some other external source. You can return your asynchronous value using either an ES6 Promise or a Node.js-style error-first callback. Of course, if your resolver has the ability to return its data synchronously, then that's fine too. Here are examples of all three approaches:
|
|
69
|
+
*/
|
|
70
|
+
read:
|
|
71
|
+
| string
|
|
72
|
+
| object
|
|
73
|
+
| ((
|
|
74
|
+
file: FileInfo,
|
|
75
|
+
callback?: (error: Error | null, data: string | null) => any,
|
|
76
|
+
) => string | Buffer | S | Promise<string | Buffer | S>);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface Plugin {
|
|
80
|
+
name?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Parsers run in a specific order, relative to other parsers. For example, a parser with `order: 5` will run before a parser with `order: 10`. If a parser is unable to successfully parse a file, then the next parser is tried, until one succeeds or they all fail.
|
|
83
|
+
*
|
|
84
|
+
* You can change the order in which parsers run, which is useful if you know that most of your referenced files will be a certain type, or if you add your own custom parser that you want to run first.
|
|
85
|
+
*/
|
|
86
|
+
order?: number;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* All of the built-in parsers allow empty files by default. The JSON and YAML parsers will parse empty files as `undefined`. The text parser will parse empty files as an empty string. The binary parser will parse empty files as an empty byte array.
|
|
90
|
+
*
|
|
91
|
+
* You can set `allowEmpty: false` on any parser, which will cause an error to be thrown if a file empty.
|
|
92
|
+
*/
|
|
93
|
+
allowEmpty?: boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Specifies whether a Byte Order Mark (BOM) is allowed or not. Only applies to JSON parsing
|
|
97
|
+
*
|
|
98
|
+
* @type {boolean} @default true
|
|
99
|
+
*/
|
|
100
|
+
allowBOM?: boolean;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The encoding that the text is expected to be in.
|
|
104
|
+
*/
|
|
105
|
+
encoding?: BufferEncoding;
|
|
106
|
+
/**
|
|
107
|
+
* Determines which parsers will be used for which files.
|
|
108
|
+
*
|
|
109
|
+
* A regular expression can be used to match files by their full path. A string (or array of strings) can be used to match files by their file extension. Or a function can be used to perform more complex matching logic. See the custom parser docs for details.
|
|
110
|
+
*/
|
|
111
|
+
canParse?: boolean | RegExp | string | string[] | ((file: FileInfo) => boolean);
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* This is where the real work of a parser happens. The `parse` method accepts the same file info object as the `canParse` function, but rather than returning a boolean value, the `parse` method should return a JavaScript representation of the file contents. For our CSV parser, that is a two-dimensional array of lines and values. For your parser, it might be an object, a string, a custom class, or anything else.
|
|
115
|
+
*
|
|
116
|
+
* Unlike the `canParse` function, the `parse` method can also be asynchronous. This might be important if your parser needs to retrieve data from a database or if it relies on an external HTTP service to return the parsed value. You can return your asynchronous value via a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or a Node.js-style error-first callback. Here are examples of both approaches:
|
|
117
|
+
*/
|
|
118
|
+
parse:
|
|
119
|
+
| ((file: FileInfo, callback?: (error: Error | null, data: string | null) => any) => unknown | Promise<unknown>)
|
|
120
|
+
| number
|
|
121
|
+
| string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* JSON Schema `$Ref` Parser supports plug-ins, such as resolvers and parsers. These plug-ins can have methods such as `canRead()`, `read()`, `canParse()`, and `parse()`. All of these methods accept the same object as their parameter: an object containing information about the file being read or parsed.
|
|
126
|
+
*
|
|
127
|
+
* The file info object currently only consists of a few properties, but it may grow in the future if plug-ins end up needing more information.
|
|
128
|
+
*
|
|
129
|
+
* See https://apitools.dev/json-schema-ref-parser/docs/plugins/file-info-object.html
|
|
130
|
+
*/
|
|
131
|
+
export interface FileInfo {
|
|
132
|
+
/**
|
|
133
|
+
* The full URL of the file. This could be any type of URL, including "http://", "https://", "file://", "ftp://", "mongodb://", or even a local filesystem path (when running in Node.js).
|
|
134
|
+
*/
|
|
135
|
+
url: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The hash (URL fragment) of the file URL, including the # symbol. If the URL doesn't have a hash, then this will be an empty string.
|
|
139
|
+
*/
|
|
140
|
+
hash: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The lowercase file extension, such as ".json", ".yaml", ".txt", etc.
|
|
144
|
+
*/
|
|
145
|
+
extension: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The raw file contents, in whatever form they were returned by the resolver that read the file.
|
|
149
|
+
*/
|
|
150
|
+
data: string | Buffer;
|
|
151
|
+
}
|