@kubb/agent 5.0.0-alpha.36 → 5.0.0-alpha.39
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/.output/nitro.json +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +230 -186
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +1 -14
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
- package/.output/server/index.mjs +1 -14
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +2 -109
- package/package.json +5 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/ajv.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/index.js +0 -249
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/names.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/util.js +0 -178
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/core.js +0 -632
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/data.json +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/json-schema-draft-07.json +0 -151
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/draft7.js +0 -17
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/package.json +0 -130
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/2020.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/index.js +0 -249
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/names.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/util.js +0 -178
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/core.js +0 -632
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/draft4.js +0 -57
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/data.json +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/index.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft2020.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft4.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/index.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/next.js +0 -8
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/index.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -84
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumber.js +0 -43
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitContains.js +0 -15
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/package.json +0 -130
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/index.js +0 -17
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/constants.js +0 -184
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/parse.js +0 -1386
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/picomatch.js +0 -349
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/scan.js +0 -391
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/utils.js +0 -72
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/package.json +0 -82
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/constants.js +0 -18
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/permessage-deflate.js +0 -514
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/sender.js +0 -602
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/stream.js +0 -159
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket-server.js +0 -540
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket.js +0 -1388
- package/.output/server/node_modules/.nitro/ws@8.18.0/package.json +0 -69
- package/.output/server/node_modules/.nitro/ws@8.18.0/wrapper.mjs +0 -8
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/buffer-util.js +0 -131
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/event-target.js +0 -292
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/extension.js +0 -203
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/limiter.js +0 -55
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/receiver.js +0 -706
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/subprotocol.js +0 -62
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/validation.js +0 -152
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +0 -302
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +0 -289
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +0 -216
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js +0 -55
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.js +0 -135
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +0 -178
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.js +0 -35
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.js +0 -62
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.js +0 -42
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.js +0 -58
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +0 -334
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +0 -308
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +0 -244
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +0 -143
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +0 -81
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +0 -158
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js +0 -14
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +0 -170
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.js +0 -6
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.js +0 -24
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.js +0 -16
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.js +0 -132
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +0 -491
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/package.json +0 -112
- package/.output/server/node_modules/@babel/code-frame/lib/index.js +0 -217
- package/.output/server/node_modules/@babel/code-frame/package.json +0 -32
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/.output/server/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/.output/server/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
- package/.output/server/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
- package/.output/server/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/createClass.js +0 -13
- package/.output/server/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
- package/.output/server/node_modules/@babel/runtime/helpers/get.js +0 -11
- package/.output/server/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/inherits.js +0 -14
- package/.output/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
- package/.output/server/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
- package/.output/server/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
- package/.output/server/node_modules/@babel/runtime/helpers/typeof.js +0 -10
- package/.output/server/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
- package/.output/server/node_modules/@babel/runtime/package.json +0 -1107
- package/.output/server/node_modules/@clack/core/dist/index.mjs +0 -11
- package/.output/server/node_modules/@clack/core/package.json +0 -60
- package/.output/server/node_modules/@clack/prompts/dist/index.mjs +0 -137
- package/.output/server/node_modules/@clack/prompts/package.json +0 -65
- package/.output/server/node_modules/@humanwhocodes/momoa/api.js +0 -1144
- package/.output/server/node_modules/@humanwhocodes/momoa/package.json +0 -49
- package/.output/server/node_modules/@kubb/ast/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/ast/dist/index.js +0 -423
- package/.output/server/node_modules/@kubb/ast/package.json +0 -70
- package/.output/server/node_modules/@kubb/core/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/core/dist/hooks.js +0 -23
- package/.output/server/node_modules/@kubb/core/dist/index.js +0 -2311
- package/.output/server/node_modules/@kubb/core/package.json +0 -109
- package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-O_arW02_.js +0 -17
- package/.output/server/node_modules/@kubb/fabric-core/dist/defaultParser-iCpMSYCp.js +0 -15
- package/.output/server/node_modules/@kubb/fabric-core/dist/getRelativePath-NAm_Y-vp.js +0 -55
- package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +0 -653
- package/.output/server/node_modules/@kubb/fabric-core/dist/onProcessExit-Cput7j2c.js +0 -742
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +0 -101
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +0 -17
- package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +0 -375
- package/.output/server/node_modules/@kubb/fabric-core/package.json +0 -111
- package/.output/server/node_modules/@kubb/oas/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/oas/dist/index.js +0 -918
- package/.output/server/node_modules/@kubb/oas/package.json +0 -94
- package/.output/server/node_modules/@kubb/plugin-client/dist/StaticClassClient-bCe7RG_w.js +0 -636
- package/.output/server/node_modules/@kubb/plugin-client/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-client/dist/components.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-client/dist/generators-BffddRNu.js +0 -723
- package/.output/server/node_modules/@kubb/plugin-client/dist/index.js +0 -124
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/axios.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/fetch.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/config.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/package.json +0 -153
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/components-BK_6GU4v.js +0 -257
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/generators-D5YFtyyC.js +0 -71
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/index.js +0 -79
- package/.output/server/node_modules/@kubb/plugin-cypress/package.json +0 -108
- package/.output/server/node_modules/@kubb/plugin-faker/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-faker/dist/components-BkBIov4R.js +0 -419
- package/.output/server/node_modules/@kubb/plugin-faker/dist/fakerGenerator-BztogaeO.js +0 -200
- package/.output/server/node_modules/@kubb/plugin-faker/dist/index.js +0 -141
- package/.output/server/node_modules/@kubb/plugin-faker/package.json +0 -103
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/Server-H3SwqhwF.js +0 -178
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/generators-BqkMrcs9.js +0 -274
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/index.js +0 -122
- package/.output/server/node_modules/@kubb/plugin-mcp/package.json +0 -107
- package/.output/server/node_modules/@kubb/plugin-msw/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-msw/dist/components-DgtTZkWX.js +0 -277
- package/.output/server/node_modules/@kubb/plugin-msw/dist/generators-C34kqa1L.js +0 -161
- package/.output/server/node_modules/@kubb/plugin-msw/dist/index.js +0 -84
- package/.output/server/node_modules/@kubb/plugin-msw/package.json +0 -109
- package/.output/server/node_modules/@kubb/plugin-oas/dist/SchemaMapper-CqMkO2T1.js +0 -58
- package/.output/server/node_modules/@kubb/plugin-oas/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-oas/dist/generators-D7C3CXsN.js +0 -79
- package/.output/server/node_modules/@kubb/plugin-oas/dist/generators.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-oas/dist/getFooter-Pw3tLCiV.js +0 -112
- package/.output/server/node_modules/@kubb/plugin-oas/dist/hooks.js +0 -200
- package/.output/server/node_modules/@kubb/plugin-oas/dist/index.js +0 -408
- package/.output/server/node_modules/@kubb/plugin-oas/dist/requestBody-pRavthCw.js +0 -1336
- package/.output/server/node_modules/@kubb/plugin-oas/dist/utils.js +0 -268
- package/.output/server/node_modules/@kubb/plugin-oas/package.json +0 -122
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/components-CpyHYGOw.js +0 -1520
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/generators-CpiBv5eE.js +0 -1427
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/index.js +0 -166
- package/.output/server/node_modules/@kubb/plugin-react-query/package.json +0 -112
- package/.output/server/node_modules/@kubb/plugin-redoc/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-redoc/dist/index.js +0 -65
- package/.output/server/node_modules/@kubb/plugin-redoc/package.json +0 -85
- package/.output/server/node_modules/@kubb/plugin-redoc/static/redoc.hbs +0 -22
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/components-BhStIi1M.js +0 -665
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/generators-CQClzsST.js +0 -415
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/index.js +0 -145
- package/.output/server/node_modules/@kubb/plugin-solid-query/package.json +0 -113
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/components-DntKBsnB.js +0 -666
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/generators-BtTsGGrM.js +0 -414
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/index.js +0 -145
- package/.output/server/node_modules/@kubb/plugin-svelte-query/package.json +0 -113
- package/.output/server/node_modules/@kubb/plugin-swr/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-swr/dist/components-DRDGvgXG.js +0 -702
- package/.output/server/node_modules/@kubb/plugin-swr/dist/generators-ClWZJ-YG.js +0 -399
- package/.output/server/node_modules/@kubb/plugin-swr/dist/index.js +0 -144
- package/.output/server/node_modules/@kubb/plugin-swr/package.json +0 -115
- package/.output/server/node_modules/@kubb/plugin-ts/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-ts/dist/components-C7fu-sK1.js +0 -723
- package/.output/server/node_modules/@kubb/plugin-ts/dist/index.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-ts/dist/plugin-CYC-FGXe.js +0 -479
- package/.output/server/node_modules/@kubb/plugin-ts/package.json +0 -105
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/components-_AMBl0g-.js +0 -1029
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/generators-Zb1s5Wmb.js +0 -661
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/index.js +0 -157
- package/.output/server/node_modules/@kubb/plugin-vue-query/package.json +0 -114
- package/.output/server/node_modules/@kubb/plugin-zod/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-zod/dist/components-eECfXVou.js +0 -842
- package/.output/server/node_modules/@kubb/plugin-zod/dist/generators-D1R6NNf2.js +0 -290
- package/.output/server/node_modules/@kubb/plugin-zod/dist/index.js +0 -175
- package/.output/server/node_modules/@kubb/plugin-zod/dist/templates/ToZod.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-zod/package.json +0 -112
- package/.output/server/node_modules/@kubb/react-fabric/dist/chunk-BGCRLu6H.js +0 -38
- package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +0 -525
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime-Bl0DfUmV.js +0 -1448
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +0 -12
- package/.output/server/node_modules/@kubb/react-fabric/dist/parsers.js +0 -2
- package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +0 -4
- package/.output/server/node_modules/@kubb/react-fabric/dist/reactPlugin-QQPrjNuQ.js +0 -17813
- package/.output/server/node_modules/@kubb/react-fabric/package.json +0 -143
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/helpers.js +0 -129
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/index.js +0 -46
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js +0 -47
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js +0 -33
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/index.js +0 -20
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/utils.js +0 -14
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/utils.js +0 -57
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js +0 -53
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js +0 -109
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js +0 -55
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js +0 -81
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js +0 -48
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js +0 -56
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js +0 -64
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js +0 -53
- package/.output/server/node_modules/@readme/better-ajv-errors/package.json +0 -68
- package/.output/server/node_modules/@readme/http-status-codes/package.json +0 -25
- package/.output/server/node_modules/@readme/http-status-codes/src/index.js +0 -142
- package/.output/server/node_modules/@readme/openapi-parser/dist/chunk-IYQ77VVR.js +0 -25
- package/.output/server/node_modules/@readme/openapi-parser/dist/index.js +0 -923
- package/.output/server/node_modules/@readme/openapi-parser/dist/lib/assertions.js +0 -15
- package/.output/server/node_modules/@readme/openapi-parser/package.json +0 -84
- package/.output/server/node_modules/@readme/openapi-schemas/dist/index.mjs +0 -6153
- package/.output/server/node_modules/@readme/openapi-schemas/package.json +0 -67
- package/.output/server/node_modules/@readme/postman-to-openapi/package.json +0 -70
- package/.output/server/node_modules/@readme/postman-to-openapi/src/index.js +0 -714
- package/.output/server/node_modules/@readme/postman-to-openapi/src/md-utils.js +0 -38
- package/.output/server/node_modules/@readme/postman-to-openapi/src/var-replacer.js +0 -25
- package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +0 -53
- package/.output/server/node_modules/@redocly/config/lib/common.js +0 -103
- package/.output/server/node_modules/@redocly/config/lib/constants/config.js +0 -17
- package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +0 -58
- package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +0 -6
- package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +0 -22
- package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -57
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +0 -186
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +0 -283
- package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +0 -687
- package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +0 -88
- package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +0 -157
- package/.output/server/node_modules/@redocly/config/lib/index.js +0 -41
- package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -44
- package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +0 -120
- package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +0 -518
- package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +0 -28
- package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +0 -103
- package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +0 -588
- package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -242
- package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/index.js +0 -21
- package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +0 -18
- package/.output/server/node_modules/@redocly/config/package.json +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +0 -100
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -260
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +0 -74
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +0 -315
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -344
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -343
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +0 -51
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +0 -98
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +0 -129
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +0 -99
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +0 -65
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +0 -67
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -67
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +0 -68
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +0 -97
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +0 -120
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +0 -79
- package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +0 -177
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +0 -365
- package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +0 -50
- package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +0 -171
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +0 -123
- package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +0 -56
- package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +0 -110
- package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +0 -326
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +0 -106
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +0 -68
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +0 -54
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +0 -139
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +0 -53
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +0 -39
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +0 -272
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +0 -22
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +0 -215
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +0 -42
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +0 -38
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +0 -33
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +0 -32
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-mixed-number-range-constraints.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -64
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +0 -42
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +0 -17
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +0 -37
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +0 -145
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +0 -17
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +0 -39
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +0 -62
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +0 -150
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +0 -18
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +0 -93
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +0 -130
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +0 -131
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +0 -59
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +0 -83
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +0 -33
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +0 -36
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +0 -59
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +0 -53
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +0 -38
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +0 -65
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +0 -82
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +0 -190
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +0 -12
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +0 -25
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +0 -18
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +0 -60
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +0 -181
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +0 -482
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +0 -1157
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +0 -511
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +0 -32
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +0 -90
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +0 -181
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +0 -101
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +0 -454
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +0 -828
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +0 -292
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +0 -312
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +0 -360
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +0 -61
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +0 -577
- package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +0 -3
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +0 -36
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +0 -7
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +0 -3
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +0 -99
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +0 -7
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +0 -177
- package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +0 -315
- package/.output/server/node_modules/@redocly/openapi-core/package.json +0 -74
- package/.output/server/node_modules/@stoplight/ordered-object-literal/package.json +0 -53
- package/.output/server/node_modules/@stoplight/ordered-object-literal/src/index.cjs +0 -221
- package/.output/server/node_modules/@stoplight/types/dist/index.js +0 -129
- package/.output/server/node_modules/@stoplight/types/package.json +0 -81
- package/.output/server/node_modules/@stoplight/yaml/buildJsonPath.js +0 -41
- package/.output/server/node_modules/@stoplight/yaml/dereferenceAnchor.js +0 -38
- package/.output/server/node_modules/@stoplight/yaml/getJsonPathForPosition.js +0 -98
- package/.output/server/node_modules/@stoplight/yaml/getLocationForJsonPath.js +0 -145
- package/.output/server/node_modules/@stoplight/yaml/index.js +0 -16
- package/.output/server/node_modules/@stoplight/yaml/lineForPosition.js +0 -31
- package/.output/server/node_modules/@stoplight/yaml/package.json +0 -33
- package/.output/server/node_modules/@stoplight/yaml/parse.js +0 -5
- package/.output/server/node_modules/@stoplight/yaml/parseWithPointers.js +0 -456
- package/.output/server/node_modules/@stoplight/yaml/safeStringify.js +0 -5
- package/.output/server/node_modules/@stoplight/yaml/trapAccess.js +0 -11
- package/.output/server/node_modules/@stoplight/yaml/types.js +0 -6
- package/.output/server/node_modules/@stoplight/yaml/utils.js +0 -4
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js +0 -45
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js +0 -710
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js +0 -35
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js +0 -1414
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js +0 -58
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js +0 -90
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js +0 -8
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js +0 -14
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js +0 -77
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js +0 -92
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js +0 -32
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js +0 -94
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js +0 -159
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js +0 -10
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js +0 -30
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js +0 -46
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js +0 -55
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js +0 -53
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js +0 -81
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/package.json +0 -38
- package/.output/server/node_modules/ajv-draft-04/dist/index.js +0 -50
- package/.output/server/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/core.js +0 -13
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +0 -16
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +0 -35
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +0 -44
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/ajv-draft-04/package.json +0 -74
- package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
- package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
- package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
- package/.output/server/node_modules/ajv-formats/package.json +0 -74
- package/.output/server/node_modules/buffer-from/index.js +0 -72
- package/.output/server/node_modules/buffer-from/package.json +0 -19
- package/.output/server/node_modules/call-me-maybe/package.json +0 -45
- package/.output/server/node_modules/call-me-maybe/src/maybe.js +0 -18
- package/.output/server/node_modules/call-me-maybe/src/next.js +0 -15
- package/.output/server/node_modules/colorette/index.js +0 -82
- package/.output/server/node_modules/colorette/package.json +0 -39
- package/.output/server/node_modules/compute-gcd/lib/index.js +0 -212
- package/.output/server/node_modules/compute-gcd/package.json +0 -73
- package/.output/server/node_modules/compute-lcm/lib/index.js +0 -111
- package/.output/server/node_modules/compute-lcm/package.json +0 -71
- package/.output/server/node_modules/d/index.js +0 -62
- package/.output/server/node_modules/d/package.json +0 -92
- package/.output/server/node_modules/empathic/access.js +0 -39
- package/.output/server/node_modules/empathic/access.mjs +0 -34
- package/.output/server/node_modules/empathic/find.js +0 -81
- package/.output/server/node_modules/empathic/find.mjs +0 -76
- package/.output/server/node_modules/empathic/package.json +0 -49
- package/.output/server/node_modules/empathic/package.mjs +0 -52
- package/.output/server/node_modules/empathic/resolve.js +0 -31
- package/.output/server/node_modules/empathic/resolve.mjs +0 -27
- package/.output/server/node_modules/empathic/walk.js +0 -22
- package/.output/server/node_modules/empathic/walk.mjs +0 -20
- package/.output/server/node_modules/es5-ext/array/#/e-index-of.js +0 -28
- package/.output/server/node_modules/es5-ext/array/from/index.js +0 -3
- package/.output/server/node_modules/es5-ext/array/from/is-implemented.js +0 -9
- package/.output/server/node_modules/es5-ext/array/from/shim.js +0 -119
- package/.output/server/node_modules/es5-ext/array/to-array.js +0 -6
- package/.output/server/node_modules/es5-ext/error/custom.js +0 -20
- package/.output/server/node_modules/es5-ext/function/_define-length.js +0 -54
- package/.output/server/node_modules/es5-ext/function/is-arguments.js +0 -6
- package/.output/server/node_modules/es5-ext/function/is-function.js +0 -8
- package/.output/server/node_modules/es5-ext/function/noop.js +0 -4
- package/.output/server/node_modules/es5-ext/math/sign/index.js +0 -3
- package/.output/server/node_modules/es5-ext/math/sign/is-implemented.js +0 -7
- package/.output/server/node_modules/es5-ext/math/sign/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/number/is-nan/index.js +0 -3
- package/.output/server/node_modules/es5-ext/number/is-nan/is-implemented.js +0 -7
- package/.output/server/node_modules/es5-ext/number/is-nan/shim.js +0 -6
- package/.output/server/node_modules/es5-ext/number/to-integer.js +0 -12
- package/.output/server/node_modules/es5-ext/number/to-pos-integer.js +0 -6
- package/.output/server/node_modules/es5-ext/object/_iterate.js +0 -30
- package/.output/server/node_modules/es5-ext/object/assign/index.js +0 -3
- package/.output/server/node_modules/es5-ext/object/assign/is-implemented.js +0 -9
- package/.output/server/node_modules/es5-ext/object/assign/shim.js +0 -23
- package/.output/server/node_modules/es5-ext/object/for-each.js +0 -3
- package/.output/server/node_modules/es5-ext/object/is-callable.js +0 -5
- package/.output/server/node_modules/es5-ext/object/is-object.js +0 -7
- package/.output/server/node_modules/es5-ext/object/is-value.js +0 -5
- package/.output/server/node_modules/es5-ext/object/keys/index.js +0 -3
- package/.output/server/node_modules/es5-ext/object/keys/is-implemented.js +0 -10
- package/.output/server/node_modules/es5-ext/object/keys/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/object/map.js +0 -14
- package/.output/server/node_modules/es5-ext/object/mixin.js +0 -26
- package/.output/server/node_modules/es5-ext/object/normalize-options.js +0 -20
- package/.output/server/node_modules/es5-ext/object/primitive-set.js +0 -10
- package/.output/server/node_modules/es5-ext/object/valid-callable.js +0 -6
- package/.output/server/node_modules/es5-ext/object/valid-value.js +0 -8
- package/.output/server/node_modules/es5-ext/object/validate-stringifiable-value.js +0 -6
- package/.output/server/node_modules/es5-ext/object/validate-stringifiable.js +0 -12
- package/.output/server/node_modules/es5-ext/package.json +0 -127
- package/.output/server/node_modules/es5-ext/safe-to-string.js +0 -12
- package/.output/server/node_modules/es5-ext/string/#/contains/index.js +0 -3
- package/.output/server/node_modules/es5-ext/string/#/contains/is-implemented.js +0 -8
- package/.output/server/node_modules/es5-ext/string/#/contains/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/string/is-string.js +0 -13
- package/.output/server/node_modules/es5-ext/to-short-string-representation.js +0 -16
- package/.output/server/node_modules/es6-symbol/index.js +0 -5
- package/.output/server/node_modules/es6-symbol/is-implemented.js +0 -20
- package/.output/server/node_modules/es6-symbol/is-symbol.js +0 -9
- package/.output/server/node_modules/es6-symbol/lib/private/generate-name.js +0 -28
- package/.output/server/node_modules/es6-symbol/lib/private/setup/standard-symbols.js +0 -34
- package/.output/server/node_modules/es6-symbol/lib/private/setup/symbol-registry.js +0 -23
- package/.output/server/node_modules/es6-symbol/package.json +0 -107
- package/.output/server/node_modules/es6-symbol/polyfill.js +0 -86
- package/.output/server/node_modules/es6-symbol/validate-symbol.js +0 -8
- package/.output/server/node_modules/event-emitter/index.js +0 -132
- package/.output/server/node_modules/event-emitter/package.json +0 -34
- package/.output/server/node_modules/ext/global-this/implementation.js +0 -31
- package/.output/server/node_modules/ext/global-this/index.js +0 -3
- package/.output/server/node_modules/ext/global-this/is-implemented.js +0 -7
- package/.output/server/node_modules/ext/package.json +0 -152
- package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
- package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
- package/.output/server/node_modules/fast-safe-stringify/index.js +0 -229
- package/.output/server/node_modules/fast-safe-stringify/package.json +0 -46
- package/.output/server/node_modules/fast-string-truncated-width/dist/index.js +0 -171
- package/.output/server/node_modules/fast-string-truncated-width/dist/utils.js +0 -15
- package/.output/server/node_modules/fast-string-truncated-width/package.json +0 -35
- package/.output/server/node_modules/fast-string-width/dist/index.js +0 -14
- package/.output/server/node_modules/fast-string-width/package.json +0 -34
- package/.output/server/node_modules/fast-uri/index.js +0 -340
- package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
- package/.output/server/node_modules/fast-uri/lib/utils.js +0 -336
- package/.output/server/node_modules/fast-uri/package.json +0 -69
- package/.output/server/node_modules/fast-wrap-ansi/lib/main.js +0 -216
- package/.output/server/node_modules/fast-wrap-ansi/package.json +0 -51
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -116
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1166
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -57
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -78
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -379
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
- package/.output/server/node_modules/handlebars/lib/index.js +0 -26
- package/.output/server/node_modules/handlebars/package.json +0 -134
- package/.output/server/node_modules/http2-client/lib/http.js +0 -17
- package/.output/server/node_modules/http2-client/lib/https.js +0 -18
- package/.output/server/node_modules/http2-client/lib/index.js +0 -21
- package/.output/server/node_modules/http2-client/lib/request-options.js +0 -38
- package/.output/server/node_modules/http2-client/lib/request.js +0 -586
- package/.output/server/node_modules/http2-client/lib/utils.js +0 -67
- package/.output/server/node_modules/http2-client/package.json +0 -38
- package/.output/server/node_modules/is-promise/index.js +0 -6
- package/.output/server/node_modules/is-promise/package.json +0 -23
- package/.output/server/node_modules/js-levenshtein/index.js +0 -105
- package/.output/server/node_modules/js-levenshtein/package.json +0 -49
- package/.output/server/node_modules/js-tokens/index.js +0 -23
- package/.output/server/node_modules/js-tokens/package.json +0 -30
- package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
- package/.output/server/node_modules/js-yaml/index.js +0 -47
- package/.output/server/node_modules/js-yaml/lib/common.js +0 -59
- package/.output/server/node_modules/js-yaml/lib/dumper.js +0 -965
- package/.output/server/node_modules/js-yaml/lib/exception.js +0 -55
- package/.output/server/node_modules/js-yaml/lib/loader.js +0 -1733
- package/.output/server/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/.output/server/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/.output/server/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/.output/server/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/.output/server/node_modules/js-yaml/lib/schema.js +0 -121
- package/.output/server/node_modules/js-yaml/lib/snippet.js +0 -101
- package/.output/server/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/.output/server/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/type/float.js +0 -97
- package/.output/server/node_modules/js-yaml/lib/type/int.js +0 -156
- package/.output/server/node_modules/js-yaml/lib/type/map.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/.output/server/node_modules/js-yaml/lib/type/null.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/.output/server/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/.output/server/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/set.js +0 -29
- package/.output/server/node_modules/js-yaml/lib/type/str.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/.output/server/node_modules/js-yaml/lib/type.js +0 -66
- package/.output/server/node_modules/js-yaml/package.json +0 -66
- package/.output/server/node_modules/json-schema-compare/package.json +0 -52
- package/.output/server/node_modules/json-schema-compare/src/index.js +0 -184
- package/.output/server/node_modules/json-schema-merge-allof/package.json +0 -57
- package/.output/server/node_modules/json-schema-merge-allof/src/common.js +0 -45
- package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/items.js +0 -98
- package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/properties.js +0 -80
- package/.output/server/node_modules/json-schema-merge-allof/src/index.js +0 -343
- package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
- package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -265
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -655
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
- package/.output/server/node_modules/jsonc-parser/lib/umd/main.js +0 -194
- package/.output/server/node_modules/jsonc-parser/package.json +0 -40
- package/.output/server/node_modules/jsonpointer/jsonpointer.js +0 -100
- package/.output/server/node_modules/jsonpointer/package.json +0 -48
- package/.output/server/node_modules/leven/index.js +0 -77
- package/.output/server/node_modules/leven/package.json +0 -57
- package/.output/server/node_modules/lodash/_DataView.js +0 -7
- package/.output/server/node_modules/lodash/_Hash.js +0 -32
- package/.output/server/node_modules/lodash/_ListCache.js +0 -32
- package/.output/server/node_modules/lodash/_Map.js +0 -7
- package/.output/server/node_modules/lodash/_MapCache.js +0 -32
- package/.output/server/node_modules/lodash/_Promise.js +0 -7
- package/.output/server/node_modules/lodash/_Set.js +0 -7
- package/.output/server/node_modules/lodash/_SetCache.js +0 -27
- package/.output/server/node_modules/lodash/_Stack.js +0 -27
- package/.output/server/node_modules/lodash/_Symbol.js +0 -6
- package/.output/server/node_modules/lodash/_Uint8Array.js +0 -6
- package/.output/server/node_modules/lodash/_WeakMap.js +0 -7
- package/.output/server/node_modules/lodash/_apply.js +0 -21
- package/.output/server/node_modules/lodash/_arrayEach.js +0 -22
- package/.output/server/node_modules/lodash/_arrayFilter.js +0 -25
- package/.output/server/node_modules/lodash/_arrayIncludes.js +0 -17
- package/.output/server/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/.output/server/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/.output/server/node_modules/lodash/_arrayMap.js +0 -21
- package/.output/server/node_modules/lodash/_arrayPush.js +0 -20
- package/.output/server/node_modules/lodash/_arraySome.js +0 -23
- package/.output/server/node_modules/lodash/_assignMergeValue.js +0 -20
- package/.output/server/node_modules/lodash/_assignValue.js +0 -28
- package/.output/server/node_modules/lodash/_assocIndexOf.js +0 -21
- package/.output/server/node_modules/lodash/_baseAssign.js +0 -17
- package/.output/server/node_modules/lodash/_baseAssignIn.js +0 -17
- package/.output/server/node_modules/lodash/_baseAssignValue.js +0 -25
- package/.output/server/node_modules/lodash/_baseClone.js +0 -166
- package/.output/server/node_modules/lodash/_baseCreate.js +0 -30
- package/.output/server/node_modules/lodash/_baseDifference.js +0 -67
- package/.output/server/node_modules/lodash/_baseEach.js +0 -14
- package/.output/server/node_modules/lodash/_baseFindIndex.js +0 -24
- package/.output/server/node_modules/lodash/_baseFlatten.js +0 -38
- package/.output/server/node_modules/lodash/_baseFor.js +0 -16
- package/.output/server/node_modules/lodash/_baseForOwn.js +0 -16
- package/.output/server/node_modules/lodash/_baseGet.js +0 -24
- package/.output/server/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/.output/server/node_modules/lodash/_baseGetTag.js +0 -28
- package/.output/server/node_modules/lodash/_baseHasIn.js +0 -13
- package/.output/server/node_modules/lodash/_baseIndexOf.js +0 -20
- package/.output/server/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/.output/server/node_modules/lodash/_baseIntersection.js +0 -74
- package/.output/server/node_modules/lodash/_baseIsArguments.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsEqual.js +0 -28
- package/.output/server/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/.output/server/node_modules/lodash/_baseIsMap.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsMatch.js +0 -62
- package/.output/server/node_modules/lodash/_baseIsNaN.js +0 -12
- package/.output/server/node_modules/lodash/_baseIsNative.js +0 -47
- package/.output/server/node_modules/lodash/_baseIsSet.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/.output/server/node_modules/lodash/_baseIteratee.js +0 -31
- package/.output/server/node_modules/lodash/_baseKeys.js +0 -30
- package/.output/server/node_modules/lodash/_baseKeysIn.js +0 -33
- package/.output/server/node_modules/lodash/_baseMap.js +0 -22
- package/.output/server/node_modules/lodash/_baseMatches.js +0 -22
- package/.output/server/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/.output/server/node_modules/lodash/_baseMerge.js +0 -42
- package/.output/server/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/.output/server/node_modules/lodash/_baseOrderBy.js +0 -49
- package/.output/server/node_modules/lodash/_baseProperty.js +0 -14
- package/.output/server/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/.output/server/node_modules/lodash/_basePullAll.js +0 -51
- package/.output/server/node_modules/lodash/_baseRest.js +0 -17
- package/.output/server/node_modules/lodash/_baseSetToString.js +0 -22
- package/.output/server/node_modules/lodash/_baseSortBy.js +0 -21
- package/.output/server/node_modules/lodash/_baseTimes.js +0 -20
- package/.output/server/node_modules/lodash/_baseToString.js +0 -37
- package/.output/server/node_modules/lodash/_baseUnary.js +0 -14
- package/.output/server/node_modules/lodash/_baseUniq.js +0 -72
- package/.output/server/node_modules/lodash/_cacheHas.js +0 -13
- package/.output/server/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/.output/server/node_modules/lodash/_castFunction.js +0 -14
- package/.output/server/node_modules/lodash/_castPath.js +0 -21
- package/.output/server/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/.output/server/node_modules/lodash/_cloneBuffer.js +0 -35
- package/.output/server/node_modules/lodash/_cloneDataView.js +0 -16
- package/.output/server/node_modules/lodash/_cloneRegExp.js +0 -17
- package/.output/server/node_modules/lodash/_cloneSymbol.js +0 -18
- package/.output/server/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/.output/server/node_modules/lodash/_compareAscending.js +0 -41
- package/.output/server/node_modules/lodash/_compareMultiple.js +0 -44
- package/.output/server/node_modules/lodash/_copyArray.js +0 -20
- package/.output/server/node_modules/lodash/_copyObject.js +0 -40
- package/.output/server/node_modules/lodash/_copySymbols.js +0 -16
- package/.output/server/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/.output/server/node_modules/lodash/_coreJsData.js +0 -6
- package/.output/server/node_modules/lodash/_createAssigner.js +0 -37
- package/.output/server/node_modules/lodash/_createBaseEach.js +0 -32
- package/.output/server/node_modules/lodash/_createBaseFor.js +0 -25
- package/.output/server/node_modules/lodash/_createSet.js +0 -19
- package/.output/server/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/.output/server/node_modules/lodash/_defineProperty.js +0 -11
- package/.output/server/node_modules/lodash/_equalArrays.js +0 -84
- package/.output/server/node_modules/lodash/_equalByTag.js +0 -112
- package/.output/server/node_modules/lodash/_equalObjects.js +0 -90
- package/.output/server/node_modules/lodash/_freeGlobal.js +0 -4
- package/.output/server/node_modules/lodash/_getAllKeys.js +0 -16
- package/.output/server/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/.output/server/node_modules/lodash/_getMapData.js +0 -18
- package/.output/server/node_modules/lodash/_getMatchData.js +0 -24
- package/.output/server/node_modules/lodash/_getNative.js +0 -17
- package/.output/server/node_modules/lodash/_getPrototype.js +0 -6
- package/.output/server/node_modules/lodash/_getRawTag.js +0 -46
- package/.output/server/node_modules/lodash/_getSymbols.js +0 -30
- package/.output/server/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/.output/server/node_modules/lodash/_getTag.js +0 -58
- package/.output/server/node_modules/lodash/_getValue.js +0 -13
- package/.output/server/node_modules/lodash/_hasPath.js +0 -39
- package/.output/server/node_modules/lodash/_hashClear.js +0 -15
- package/.output/server/node_modules/lodash/_hashDelete.js +0 -17
- package/.output/server/node_modules/lodash/_hashGet.js +0 -30
- package/.output/server/node_modules/lodash/_hashHas.js +0 -23
- package/.output/server/node_modules/lodash/_hashSet.js +0 -23
- package/.output/server/node_modules/lodash/_initCloneArray.js +0 -26
- package/.output/server/node_modules/lodash/_initCloneByTag.js +0 -77
- package/.output/server/node_modules/lodash/_initCloneObject.js +0 -18
- package/.output/server/node_modules/lodash/_isFlattenable.js +0 -20
- package/.output/server/node_modules/lodash/_isIndex.js +0 -25
- package/.output/server/node_modules/lodash/_isIterateeCall.js +0 -30
- package/.output/server/node_modules/lodash/_isKey.js +0 -29
- package/.output/server/node_modules/lodash/_isKeyable.js +0 -15
- package/.output/server/node_modules/lodash/_isMasked.js +0 -20
- package/.output/server/node_modules/lodash/_isPrototype.js +0 -18
- package/.output/server/node_modules/lodash/_isStrictComparable.js +0 -15
- package/.output/server/node_modules/lodash/_listCacheClear.js +0 -13
- package/.output/server/node_modules/lodash/_listCacheDelete.js +0 -35
- package/.output/server/node_modules/lodash/_listCacheGet.js +0 -19
- package/.output/server/node_modules/lodash/_listCacheHas.js +0 -16
- package/.output/server/node_modules/lodash/_listCacheSet.js +0 -26
- package/.output/server/node_modules/lodash/_mapCacheClear.js +0 -21
- package/.output/server/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/.output/server/node_modules/lodash/_mapCacheGet.js +0 -16
- package/.output/server/node_modules/lodash/_mapCacheHas.js +0 -16
- package/.output/server/node_modules/lodash/_mapCacheSet.js +0 -22
- package/.output/server/node_modules/lodash/_mapToArray.js +0 -18
- package/.output/server/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/.output/server/node_modules/lodash/_memoizeCapped.js +0 -26
- package/.output/server/node_modules/lodash/_nativeCreate.js +0 -6
- package/.output/server/node_modules/lodash/_nativeKeys.js +0 -6
- package/.output/server/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/.output/server/node_modules/lodash/_nodeUtil.js +0 -30
- package/.output/server/node_modules/lodash/_objectToString.js +0 -22
- package/.output/server/node_modules/lodash/_overArg.js +0 -15
- package/.output/server/node_modules/lodash/_overRest.js +0 -36
- package/.output/server/node_modules/lodash/_root.js +0 -9
- package/.output/server/node_modules/lodash/_safeGet.js +0 -21
- package/.output/server/node_modules/lodash/_setCacheAdd.js +0 -19
- package/.output/server/node_modules/lodash/_setCacheHas.js +0 -14
- package/.output/server/node_modules/lodash/_setToArray.js +0 -18
- package/.output/server/node_modules/lodash/_setToString.js +0 -14
- package/.output/server/node_modules/lodash/_shortOut.js +0 -37
- package/.output/server/node_modules/lodash/_stackClear.js +0 -15
- package/.output/server/node_modules/lodash/_stackDelete.js +0 -18
- package/.output/server/node_modules/lodash/_stackGet.js +0 -14
- package/.output/server/node_modules/lodash/_stackHas.js +0 -14
- package/.output/server/node_modules/lodash/_stackSet.js +0 -34
- package/.output/server/node_modules/lodash/_strictIndexOf.js +0 -23
- package/.output/server/node_modules/lodash/_stringToPath.js +0 -27
- package/.output/server/node_modules/lodash/_toKey.js +0 -21
- package/.output/server/node_modules/lodash/_toSource.js +0 -26
- package/.output/server/node_modules/lodash/cloneDeep.js +0 -29
- package/.output/server/node_modules/lodash/constant.js +0 -26
- package/.output/server/node_modules/lodash/defaults.js +0 -64
- package/.output/server/node_modules/lodash/defaultsDeep.js +0 -30
- package/.output/server/node_modules/lodash/eq.js +0 -37
- package/.output/server/node_modules/lodash/flatten.js +0 -22
- package/.output/server/node_modules/lodash/flattenDeep.js +0 -25
- package/.output/server/node_modules/lodash/forEach.js +0 -41
- package/.output/server/node_modules/lodash/get.js +0 -33
- package/.output/server/node_modules/lodash/hasIn.js +0 -34
- package/.output/server/node_modules/lodash/identity.js +0 -21
- package/.output/server/node_modules/lodash/intersection.js +0 -30
- package/.output/server/node_modules/lodash/intersectionWith.js +0 -41
- package/.output/server/node_modules/lodash/isArguments.js +0 -36
- package/.output/server/node_modules/lodash/isArray.js +0 -26
- package/.output/server/node_modules/lodash/isArrayLike.js +0 -33
- package/.output/server/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/.output/server/node_modules/lodash/isBoolean.js +0 -29
- package/.output/server/node_modules/lodash/isBuffer.js +0 -38
- package/.output/server/node_modules/lodash/isEqual.js +0 -35
- package/.output/server/node_modules/lodash/isFunction.js +0 -37
- package/.output/server/node_modules/lodash/isLength.js +0 -35
- package/.output/server/node_modules/lodash/isMap.js +0 -27
- package/.output/server/node_modules/lodash/isObject.js +0 -31
- package/.output/server/node_modules/lodash/isObjectLike.js +0 -29
- package/.output/server/node_modules/lodash/isPlainObject.js +0 -62
- package/.output/server/node_modules/lodash/isSet.js +0 -27
- package/.output/server/node_modules/lodash/isSymbol.js +0 -29
- package/.output/server/node_modules/lodash/isTypedArray.js +0 -27
- package/.output/server/node_modules/lodash/keys.js +0 -37
- package/.output/server/node_modules/lodash/keysIn.js +0 -32
- package/.output/server/node_modules/lodash/last.js +0 -20
- package/.output/server/node_modules/lodash/memoize.js +0 -73
- package/.output/server/node_modules/lodash/mergeWith.js +0 -39
- package/.output/server/node_modules/lodash/noop.js +0 -17
- package/.output/server/node_modules/lodash/package.json +0 -19
- package/.output/server/node_modules/lodash/property.js +0 -32
- package/.output/server/node_modules/lodash/pullAll.js +0 -29
- package/.output/server/node_modules/lodash/sortBy.js +0 -48
- package/.output/server/node_modules/lodash/stubArray.js +0 -23
- package/.output/server/node_modules/lodash/stubFalse.js +0 -18
- package/.output/server/node_modules/lodash/toPlainObject.js +0 -32
- package/.output/server/node_modules/lodash/toString.js +0 -28
- package/.output/server/node_modules/lodash/uniq.js +0 -25
- package/.output/server/node_modules/lodash/uniqWith.js +0 -28
- package/.output/server/node_modules/lodash/without.js +0 -31
- package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
- package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
- package/.output/server/node_modules/lru-queue/index.js +0 -48
- package/.output/server/node_modules/lru-queue/package.json +0 -25
- package/.output/server/node_modules/marked/lib/marked.cjs +0 -2811
- package/.output/server/node_modules/marked/package.json +0 -93
- package/.output/server/node_modules/memoizee/ext/async.js +0 -154
- package/.output/server/node_modules/memoizee/ext/dispose.js +0 -27
- package/.output/server/node_modules/memoizee/ext/max-age.js +0 -90
- package/.output/server/node_modules/memoizee/ext/max.js +0 -32
- package/.output/server/node_modules/memoizee/ext/promise.js +0 -147
- package/.output/server/node_modules/memoizee/ext/ref-counter.js +0 -42
- package/.output/server/node_modules/memoizee/index.js +0 -34
- package/.output/server/node_modules/memoizee/lib/configure-map.js +0 -182
- package/.output/server/node_modules/memoizee/lib/registered-extensions.js +0 -1
- package/.output/server/node_modules/memoizee/lib/resolve-length.js +0 -15
- package/.output/server/node_modules/memoizee/lib/resolve-normalize.js +0 -17
- package/.output/server/node_modules/memoizee/lib/resolve-resolve.js +0 -19
- package/.output/server/node_modules/memoizee/normalizers/get-1.js +0 -29
- package/.output/server/node_modules/memoizee/normalizers/get-fixed.js +0 -71
- package/.output/server/node_modules/memoizee/normalizers/get-primitive-fixed.js +0 -14
- package/.output/server/node_modules/memoizee/normalizers/get.js +0 -90
- package/.output/server/node_modules/memoizee/normalizers/primitive.js +0 -9
- package/.output/server/node_modules/memoizee/package.json +0 -114
- package/.output/server/node_modules/memoizee/plain.js +0 -37
- package/.output/server/node_modules/mustache/mustache.js +0 -772
- package/.output/server/node_modules/mustache/package.json +0 -67
- package/.output/server/node_modules/next-tick/index.js +0 -74
- package/.output/server/node_modules/next-tick/package.json +0 -27
- package/.output/server/node_modules/node-fetch-h2/lib/index.js +0 -1585
- package/.output/server/node_modules/node-fetch-h2/package.json +0 -68
- package/.output/server/node_modules/oas/dist/chunk-5EP6HY2E.js +0 -943
- package/.output/server/node_modules/oas/dist/chunk-7MARUOFZ.js +0 -24
- package/.output/server/node_modules/oas/dist/chunk-HGVFNEKW.js +0 -1684
- package/.output/server/node_modules/oas/dist/chunk-LSH3X5NA.js +0 -822
- package/.output/server/node_modules/oas/dist/chunk-S27IGTVG.js +0 -95
- package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +0 -9
- package/.output/server/node_modules/oas/dist/index.js +0 -12
- package/.output/server/node_modules/oas/dist/types.js +0 -15
- package/.output/server/node_modules/oas/dist/utils.js +0 -19
- package/.output/server/node_modules/oas/package.json +0 -113
- package/.output/server/node_modules/oas-kit-common/index.js +0 -137
- package/.output/server/node_modules/oas-kit-common/package.json +0 -28
- package/.output/server/node_modules/oas-normalize/dist/chunk-45XXAYDL.js +0 -19
- package/.output/server/node_modules/oas-normalize/dist/chunk-SZISBDLH.js +0 -86
- package/.output/server/node_modules/oas-normalize/dist/index.js +0 -248
- package/.output/server/node_modules/oas-normalize/package.json +0 -87
- package/.output/server/node_modules/oas-resolver/index.js +0 -535
- package/.output/server/node_modules/oas-resolver/package.json +0 -40
- package/.output/server/node_modules/oas-schema-walker/index.js +0 -125
- package/.output/server/node_modules/oas-schema-walker/package.json +0 -27
- package/.output/server/node_modules/p-limit/index.js +0 -127
- package/.output/server/node_modules/p-limit/package.json +0 -58
- package/.output/server/node_modules/path-to-regexp/dist/index.js +0 -431
- package/.output/server/node_modules/path-to-regexp/package.json +0 -64
- package/.output/server/node_modules/picocolors/package.json +0 -25
- package/.output/server/node_modules/picocolors/picocolors.js +0 -75
- package/.output/server/node_modules/pluralize/package.json +0 -40
- package/.output/server/node_modules/pluralize/pluralize.js +0 -503
- package/.output/server/node_modules/react-devtools-core/dist/backend.js +0 -18302
- package/.output/server/node_modules/react-devtools-core/package.json +0 -38
- package/.output/server/node_modules/reftools/lib/clone.js +0 -102
- package/.output/server/node_modules/reftools/lib/dereference.js +0 -105
- package/.output/server/node_modules/reftools/lib/isref.js +0 -10
- package/.output/server/node_modules/reftools/lib/jptr.js +0 -97
- package/.output/server/node_modules/reftools/lib/recurse.js +0 -62
- package/.output/server/node_modules/reftools/package.json +0 -37
- package/.output/server/node_modules/remove-undefined-objects/dist/index.mjs +0 -94
- package/.output/server/node_modules/remove-undefined-objects/package.json +0 -47
- package/.output/server/node_modules/semver/classes/comparator.js +0 -143
- package/.output/server/node_modules/semver/classes/range.js +0 -557
- package/.output/server/node_modules/semver/classes/semver.js +0 -333
- package/.output/server/node_modules/semver/functions/clean.js +0 -8
- package/.output/server/node_modules/semver/functions/cmp.js +0 -54
- package/.output/server/node_modules/semver/functions/coerce.js +0 -62
- package/.output/server/node_modules/semver/functions/compare-build.js +0 -9
- package/.output/server/node_modules/semver/functions/compare-loose.js +0 -5
- package/.output/server/node_modules/semver/functions/compare.js +0 -7
- package/.output/server/node_modules/semver/functions/diff.js +0 -60
- package/.output/server/node_modules/semver/functions/eq.js +0 -5
- package/.output/server/node_modules/semver/functions/gt.js +0 -5
- package/.output/server/node_modules/semver/functions/gte.js +0 -5
- package/.output/server/node_modules/semver/functions/inc.js +0 -21
- package/.output/server/node_modules/semver/functions/lt.js +0 -5
- package/.output/server/node_modules/semver/functions/lte.js +0 -5
- package/.output/server/node_modules/semver/functions/major.js +0 -5
- package/.output/server/node_modules/semver/functions/minor.js +0 -5
- package/.output/server/node_modules/semver/functions/neq.js +0 -5
- package/.output/server/node_modules/semver/functions/parse.js +0 -18
- package/.output/server/node_modules/semver/functions/patch.js +0 -5
- package/.output/server/node_modules/semver/functions/prerelease.js +0 -8
- package/.output/server/node_modules/semver/functions/rcompare.js +0 -5
- package/.output/server/node_modules/semver/functions/rsort.js +0 -5
- package/.output/server/node_modules/semver/functions/satisfies.js +0 -12
- package/.output/server/node_modules/semver/functions/sort.js +0 -5
- package/.output/server/node_modules/semver/functions/valid.js +0 -8
- package/.output/server/node_modules/semver/index.js +0 -91
- package/.output/server/node_modules/semver/internal/constants.js +0 -37
- package/.output/server/node_modules/semver/internal/debug.js +0 -11
- package/.output/server/node_modules/semver/internal/identifiers.js +0 -29
- package/.output/server/node_modules/semver/internal/lrucache.js +0 -42
- package/.output/server/node_modules/semver/internal/parse-options.js +0 -17
- package/.output/server/node_modules/semver/internal/re.js +0 -223
- package/.output/server/node_modules/semver/package.json +0 -78
- package/.output/server/node_modules/semver/preload.js +0 -4
- package/.output/server/node_modules/semver/ranges/gtr.js +0 -6
- package/.output/server/node_modules/semver/ranges/intersects.js +0 -9
- package/.output/server/node_modules/semver/ranges/ltr.js +0 -6
- package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/.output/server/node_modules/semver/ranges/min-version.js +0 -63
- package/.output/server/node_modules/semver/ranges/outside.js +0 -82
- package/.output/server/node_modules/semver/ranges/simplify.js +0 -49
- package/.output/server/node_modules/semver/ranges/subset.js +0 -249
- package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -10
- package/.output/server/node_modules/semver/ranges/valid.js +0 -13
- package/.output/server/node_modules/sisteransi/package.json +0 -34
- package/.output/server/node_modules/sisteransi/src/index.js +0 -58
- package/.output/server/node_modules/source-map/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.output/server/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.output/server/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.output/server/node_modules/source-map/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map/lib/util.js +0 -488
- package/.output/server/node_modules/source-map/package.json +0 -73
- package/.output/server/node_modules/source-map/source-map.js +0 -8
- package/.output/server/node_modules/source-map-support/package.json +0 -31
- package/.output/server/node_modules/source-map-support/source-map-support.js +0 -625
- package/.output/server/node_modules/swagger2openapi/index.js +0 -1666
- package/.output/server/node_modules/swagger2openapi/lib/statusCodes.js +0 -19
- package/.output/server/node_modules/swagger2openapi/package.json +0 -63
- package/.output/server/node_modules/timers-ext/max-timeout.js +0 -3
- package/.output/server/node_modules/timers-ext/package.json +0 -97
- package/.output/server/node_modules/timers-ext/valid-timeout.js +0 -10
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/node_modules/type/function/is.js +0 -19
- package/.output/server/node_modules/type/object/is.js +0 -11
- package/.output/server/node_modules/type/package.json +0 -121
- package/.output/server/node_modules/type/plain-function/is.js +0 -11
- package/.output/server/node_modules/type/prototype/is.js +0 -13
- package/.output/server/node_modules/type/value/is.js +0 -6
- package/.output/server/node_modules/typescript/lib/typescript.js +0 -200276
- package/.output/server/node_modules/typescript/package.json +0 -120
- package/.output/server/node_modules/validate.io-array/lib/index.js +0 -16
- package/.output/server/node_modules/validate.io-array/package.json +0 -51
- package/.output/server/node_modules/validate.io-function/lib/index.js +0 -45
- package/.output/server/node_modules/validate.io-function/package.json +0 -53
- package/.output/server/node_modules/validate.io-integer/lib/index.js +0 -52
- package/.output/server/node_modules/validate.io-integer/package.json +0 -58
- package/.output/server/node_modules/validate.io-integer-array/lib/index.js +0 -66
- package/.output/server/node_modules/validate.io-integer-array/package.json +0 -58
- package/.output/server/node_modules/validate.io-number/lib/index.js +0 -45
- package/.output/server/node_modules/validate.io-number/package.json +0 -55
- package/.output/server/node_modules/yaml/dist/Document-a8d0fbf9.js +0 -637
- package/.output/server/node_modules/yaml/dist/PlainValue-516d5bc2.js +0 -765
- package/.output/server/node_modules/yaml/dist/Schema-bcc6c2d7.js +0 -469
- package/.output/server/node_modules/yaml/dist/index.js +0 -67
- package/.output/server/node_modules/yaml/dist/parse-cst.js +0 -1507
- package/.output/server/node_modules/yaml/dist/resolveSeq-95613e94.js +0 -1859
- package/.output/server/node_modules/yaml/dist/warnings-793925ce.js +0 -359
- package/.output/server/node_modules/yaml/index.js +0 -1
- package/.output/server/node_modules/yaml/package.json +0 -105
- package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +0 -45
- package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +0 -644
- package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +0 -40
- package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +0 -1416
- package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +0 -62
- package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +0 -82
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +0 -8
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +0 -14
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +0 -78
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +0 -92
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +0 -32
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +0 -95
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +0 -155
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +0 -10
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +0 -30
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +0 -46
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +0 -55
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +0 -54
- package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +0 -82
- package/.output/server/node_modules/yaml-ast-parser/package.json +0 -39
- package/.output/server/node_modules/yocto-queue/index.js +0 -90
- package/.output/server/node_modules/yocto-queue/package.json +0 -48
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/parse.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/picomatch.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/scan.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/utils.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/buffer-util.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/event-target.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/extension.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/limiter.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/permessage-deflate.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/receiver.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/sender.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/stream.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/subprotocol.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/validation.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket-server.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/wrapper.mjs +0 -0
|
@@ -1,1684 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
supportedMethods
|
|
3
|
-
} from "./chunk-VA3NKXX7.js";
|
|
4
|
-
import {
|
|
5
|
-
cloneObject,
|
|
6
|
-
dereferenceRef,
|
|
7
|
-
getDereferencingOptions,
|
|
8
|
-
getParametersAsJSONSchema,
|
|
9
|
-
getSchemaVersionString,
|
|
10
|
-
isObject,
|
|
11
|
-
isPrimitive,
|
|
12
|
-
matches_mimetype_default,
|
|
13
|
-
toJSONSchema
|
|
14
|
-
} from "./chunk-5EP6HY2E.js";
|
|
15
|
-
import {
|
|
16
|
-
getExtension
|
|
17
|
-
} from "./chunk-S27IGTVG.js";
|
|
18
|
-
import {
|
|
19
|
-
isRef
|
|
20
|
-
} from "./chunk-7MARUOFZ.js";
|
|
21
|
-
|
|
22
|
-
// src/operation/index.ts
|
|
23
|
-
import { $RefParser } from "@apidevtools/json-schema-ref-parser";
|
|
24
|
-
|
|
25
|
-
// src/lib/build-discriminator-one-of.ts
|
|
26
|
-
function hasDiscriminatorWithoutPolymorphism(schema) {
|
|
27
|
-
if (!schema || typeof schema !== "object") return false;
|
|
28
|
-
if (!("discriminator" in schema)) return false;
|
|
29
|
-
if ("oneOf" in schema || "anyOf" in schema) return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
function allOfReferencesSchema(schema, targetSchemaName) {
|
|
33
|
-
if (!schema || typeof schema !== "object") return false;
|
|
34
|
-
if (!("allOf" in schema) || !Array.isArray(schema.allOf)) return false;
|
|
35
|
-
return schema.allOf.some((item) => {
|
|
36
|
-
if (isRef(item)) {
|
|
37
|
-
const refParts = item.$ref.split("/");
|
|
38
|
-
const refSchemaName = refParts[refParts.length - 1];
|
|
39
|
-
return refSchemaName === targetSchemaName;
|
|
40
|
-
}
|
|
41
|
-
return false;
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function findDiscriminatorChildren(api) {
|
|
45
|
-
const childrenMap = /* @__PURE__ */ new Map();
|
|
46
|
-
const invertedChildrenMap = /* @__PURE__ */ new Map();
|
|
47
|
-
if (!api?.components?.schemas || typeof api.components.schemas !== "object") {
|
|
48
|
-
return { children: childrenMap, inverted: invertedChildrenMap };
|
|
49
|
-
}
|
|
50
|
-
const schemas = api.components.schemas;
|
|
51
|
-
const schemaNames = Object.keys(schemas);
|
|
52
|
-
const discriminatorSchemas = schemaNames.filter((name) => {
|
|
53
|
-
return hasDiscriminatorWithoutPolymorphism(schemas[name]);
|
|
54
|
-
});
|
|
55
|
-
for (const baseName of discriminatorSchemas) {
|
|
56
|
-
const baseSchema = schemas[baseName];
|
|
57
|
-
const discriminator = baseSchema.discriminator;
|
|
58
|
-
let childSchemaNames;
|
|
59
|
-
if (discriminator.mapping && typeof discriminator.mapping === "object") {
|
|
60
|
-
const mappingRefs = Object.values(discriminator.mapping);
|
|
61
|
-
if (mappingRefs.length > 0) {
|
|
62
|
-
childSchemaNames = mappingRefs.map((ref) => {
|
|
63
|
-
const parts = ref.split("/");
|
|
64
|
-
return parts[parts.length - 1];
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (!childSchemaNames || childSchemaNames.length === 0) {
|
|
69
|
-
childSchemaNames = schemaNames.filter((name) => {
|
|
70
|
-
if (name === baseName) return false;
|
|
71
|
-
return allOfReferencesSchema(schemas[name], baseName);
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
if (childSchemaNames.length > 0) {
|
|
75
|
-
childrenMap.set(baseName, childSchemaNames);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
for (const [key, values] of childrenMap) {
|
|
79
|
-
for (const value of values) {
|
|
80
|
-
if (invertedChildrenMap.has(value)) {
|
|
81
|
-
invertedChildrenMap.get(value)?.push(key);
|
|
82
|
-
} else {
|
|
83
|
-
invertedChildrenMap.set(value, [key]);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return { children: childrenMap, inverted: invertedChildrenMap };
|
|
88
|
-
}
|
|
89
|
-
function buildDiscriminatorOneOf(api, childrenMap) {
|
|
90
|
-
if (!api?.components?.schemas || typeof api.components.schemas !== "object") {
|
|
91
|
-
return;
|
|
92
|
-
} else if (childrenMap.size === 0) {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
for (const [schemaName, childNames] of childrenMap) {
|
|
96
|
-
const schema = api.components.schemas[schemaName];
|
|
97
|
-
if (!schema) continue;
|
|
98
|
-
const oneOf = [];
|
|
99
|
-
for (const childName of childNames) {
|
|
100
|
-
if (api.components.schemas[childName]) {
|
|
101
|
-
oneOf.push(cloneObject(api.components.schemas[childName]));
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
if (oneOf.length > 0) {
|
|
105
|
-
schema.oneOf = oneOf;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
for (const [parentSchemaName, childNames] of childrenMap) {
|
|
109
|
-
for (const childName of childNames) {
|
|
110
|
-
const childSchema = api.components.schemas[childName];
|
|
111
|
-
if (!childSchema || !("allOf" in childSchema) || !Array.isArray(childSchema.allOf)) {
|
|
112
|
-
continue;
|
|
113
|
-
}
|
|
114
|
-
for (let i = 0; i < childSchema.allOf.length; i++) {
|
|
115
|
-
const item = childSchema.allOf[i];
|
|
116
|
-
if (item && typeof item === "object" && "x-readme-ref-name" in item && item["x-readme-ref-name"] === parentSchemaName && "oneOf" in item) {
|
|
117
|
-
const clonedItem = cloneObject(item);
|
|
118
|
-
delete clonedItem.oneOf;
|
|
119
|
-
childSchema.allOf[i] = clonedItem;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// src/operation/lib/dedupe-common-parameters.ts
|
|
127
|
-
function dedupeCommonParameters(parameters, commonParameters) {
|
|
128
|
-
return commonParameters.filter((param) => {
|
|
129
|
-
return !parameters.find((param2) => {
|
|
130
|
-
if (param.name && param2.name) {
|
|
131
|
-
return param.name === param2.name && param.in === param2.in;
|
|
132
|
-
} else if (isRef(param) && isRef(param2)) {
|
|
133
|
-
return param.$ref === param2.$ref;
|
|
134
|
-
}
|
|
135
|
-
return false;
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// src/samples/index.ts
|
|
141
|
-
import mergeJSONSchemaAllOf from "json-schema-merge-allof";
|
|
142
|
-
import memoize from "memoizee";
|
|
143
|
-
|
|
144
|
-
// src/samples/utils.ts
|
|
145
|
-
function usesPolymorphism(schema) {
|
|
146
|
-
if (schema.oneOf) {
|
|
147
|
-
return "oneOf";
|
|
148
|
-
} else if (schema.anyOf) {
|
|
149
|
-
return "anyOf";
|
|
150
|
-
} else if (schema.allOf) {
|
|
151
|
-
return "allOf";
|
|
152
|
-
}
|
|
153
|
-
return false;
|
|
154
|
-
}
|
|
155
|
-
function objectify(thing) {
|
|
156
|
-
if (!isObject(thing)) {
|
|
157
|
-
return {};
|
|
158
|
-
}
|
|
159
|
-
return thing;
|
|
160
|
-
}
|
|
161
|
-
function normalizeArray(arr) {
|
|
162
|
-
if (Array.isArray(arr)) {
|
|
163
|
-
return arr;
|
|
164
|
-
}
|
|
165
|
-
return [arr];
|
|
166
|
-
}
|
|
167
|
-
function isFunc(thing) {
|
|
168
|
-
return typeof thing === "function";
|
|
169
|
-
}
|
|
170
|
-
function deeplyStripKey(input, keyToStrip, predicate = (obj, key) => true) {
|
|
171
|
-
if (typeof input !== "object" || Array.isArray(input) || input === null || !keyToStrip) {
|
|
172
|
-
return input;
|
|
173
|
-
}
|
|
174
|
-
const obj = { ...input };
|
|
175
|
-
Object.keys(obj).forEach((k) => {
|
|
176
|
-
if (k === keyToStrip && predicate(obj[k], k)) {
|
|
177
|
-
delete obj[k];
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
obj[k] = deeplyStripKey(obj[k], keyToStrip, predicate);
|
|
181
|
-
});
|
|
182
|
-
return obj;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
// src/samples/index.ts
|
|
186
|
-
var sampleDefaults = (genericSample) => {
|
|
187
|
-
return (schema) => typeof schema.default === typeof genericSample ? schema.default : genericSample;
|
|
188
|
-
};
|
|
189
|
-
var primitives = {
|
|
190
|
-
string: sampleDefaults("string"),
|
|
191
|
-
string_email: sampleDefaults("user@example.com"),
|
|
192
|
-
"string_date-time": sampleDefaults((/* @__PURE__ */ new Date()).toISOString()),
|
|
193
|
-
string_date: sampleDefaults((/* @__PURE__ */ new Date()).toISOString().substring(0, 10)),
|
|
194
|
-
"string_YYYY-MM-DD": sampleDefaults((/* @__PURE__ */ new Date()).toISOString().substring(0, 10)),
|
|
195
|
-
string_uuid: sampleDefaults("3fa85f64-5717-4562-b3fc-2c963f66afa6"),
|
|
196
|
-
string_hostname: sampleDefaults("example.com"),
|
|
197
|
-
string_ipv4: sampleDefaults("198.51.100.42"),
|
|
198
|
-
string_ipv6: sampleDefaults("2001:0db8:5b96:0000:0000:426f:8e17:642a"),
|
|
199
|
-
number: sampleDefaults(0),
|
|
200
|
-
number_float: sampleDefaults(0),
|
|
201
|
-
integer: sampleDefaults(0),
|
|
202
|
-
boolean: sampleDefaults(true)
|
|
203
|
-
};
|
|
204
|
-
var primitive = (schema) => {
|
|
205
|
-
const objectifiedSchema = objectify(schema);
|
|
206
|
-
const { format } = objectifiedSchema;
|
|
207
|
-
let { type } = objectifiedSchema;
|
|
208
|
-
if (type === "null") {
|
|
209
|
-
return null;
|
|
210
|
-
} else if (Array.isArray(type)) {
|
|
211
|
-
if (type.length === 1) {
|
|
212
|
-
type = type[0];
|
|
213
|
-
} else {
|
|
214
|
-
if (type.includes("null")) {
|
|
215
|
-
type = type.filter((t) => t !== "null");
|
|
216
|
-
}
|
|
217
|
-
type = type.shift();
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
const fn = primitives[`${type}_${format}`] || primitives[type];
|
|
221
|
-
if (isFunc(fn)) {
|
|
222
|
-
return fn(objectifiedSchema);
|
|
223
|
-
}
|
|
224
|
-
return `Unknown Type: ${objectifiedSchema.type}`;
|
|
225
|
-
};
|
|
226
|
-
function sampleFromSchema(schema, opts = {}) {
|
|
227
|
-
const objectifySchema = objectify(schema);
|
|
228
|
-
let { type } = objectifySchema;
|
|
229
|
-
const hasPolymorphism = usesPolymorphism(objectifySchema);
|
|
230
|
-
if (hasPolymorphism === "allOf") {
|
|
231
|
-
try {
|
|
232
|
-
return sampleFromSchema(
|
|
233
|
-
mergeJSONSchemaAllOf(objectifySchema, {
|
|
234
|
-
resolvers: {
|
|
235
|
-
// Ignore any unrecognized OAS-specific keywords that might be present on the schema
|
|
236
|
-
// (like `xml`).
|
|
237
|
-
defaultResolver: mergeJSONSchemaAllOf.options.resolvers.title
|
|
238
|
-
}
|
|
239
|
-
}),
|
|
240
|
-
opts
|
|
241
|
-
);
|
|
242
|
-
} catch {
|
|
243
|
-
return void 0;
|
|
244
|
-
}
|
|
245
|
-
} else if (hasPolymorphism) {
|
|
246
|
-
const samples = objectifySchema[hasPolymorphism].map((s) => {
|
|
247
|
-
return sampleFromSchema(s, opts);
|
|
248
|
-
});
|
|
249
|
-
if (samples.length === 1) {
|
|
250
|
-
return samples[0];
|
|
251
|
-
} else if (samples.some((s) => s === null)) {
|
|
252
|
-
return samples.find((s) => s !== null);
|
|
253
|
-
}
|
|
254
|
-
return samples[0];
|
|
255
|
-
}
|
|
256
|
-
const { example, additionalProperties, properties, items } = objectifySchema;
|
|
257
|
-
const { includeReadOnly, includeWriteOnly } = opts;
|
|
258
|
-
if (example !== void 0) {
|
|
259
|
-
return deeplyStripKey(example, "$$ref", (val) => {
|
|
260
|
-
return typeof val === "string" && val.indexOf("#") > -1;
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
if (!type) {
|
|
264
|
-
if (properties || additionalProperties) {
|
|
265
|
-
type = "object";
|
|
266
|
-
} else if (items) {
|
|
267
|
-
type = "array";
|
|
268
|
-
} else {
|
|
269
|
-
return void 0;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
if (type === "object" || Array.isArray(type) && type.includes("object")) {
|
|
273
|
-
const props = objectify(properties);
|
|
274
|
-
const obj = {};
|
|
275
|
-
for (const name in props) {
|
|
276
|
-
if (props?.[name].deprecated) {
|
|
277
|
-
continue;
|
|
278
|
-
}
|
|
279
|
-
if (props?.[name].readOnly && !includeReadOnly) {
|
|
280
|
-
continue;
|
|
281
|
-
}
|
|
282
|
-
if (props?.[name].writeOnly && !includeWriteOnly) {
|
|
283
|
-
continue;
|
|
284
|
-
}
|
|
285
|
-
if (props[name].examples?.length) {
|
|
286
|
-
obj[name] = props[name].examples[0];
|
|
287
|
-
continue;
|
|
288
|
-
}
|
|
289
|
-
obj[name] = sampleFromSchema(props[name], opts);
|
|
290
|
-
}
|
|
291
|
-
if (additionalProperties === true) {
|
|
292
|
-
obj.additionalProp = {};
|
|
293
|
-
} else if (additionalProperties) {
|
|
294
|
-
const additionalProps = objectify(additionalProperties);
|
|
295
|
-
const additionalPropVal = sampleFromSchema(additionalProps, opts);
|
|
296
|
-
obj.additionalProp = additionalPropVal;
|
|
297
|
-
}
|
|
298
|
-
return obj;
|
|
299
|
-
}
|
|
300
|
-
if (type === "array" || Array.isArray(type) && type.includes("array")) {
|
|
301
|
-
if (typeof items === "undefined") {
|
|
302
|
-
return [];
|
|
303
|
-
}
|
|
304
|
-
if (Array.isArray(items.anyOf)) {
|
|
305
|
-
return items.anyOf.map((i) => sampleFromSchema(i, opts));
|
|
306
|
-
}
|
|
307
|
-
if (Array.isArray(items.oneOf)) {
|
|
308
|
-
return items.oneOf.map((i) => sampleFromSchema(i, opts));
|
|
309
|
-
}
|
|
310
|
-
return [sampleFromSchema(items, opts)];
|
|
311
|
-
}
|
|
312
|
-
if (schema.enum) {
|
|
313
|
-
if (schema.default) {
|
|
314
|
-
return schema.default;
|
|
315
|
-
}
|
|
316
|
-
return normalizeArray(schema.enum)[0];
|
|
317
|
-
}
|
|
318
|
-
if (type === "file") {
|
|
319
|
-
return void 0;
|
|
320
|
-
}
|
|
321
|
-
return primitive(schema);
|
|
322
|
-
}
|
|
323
|
-
var memo = memoize(sampleFromSchema);
|
|
324
|
-
var samples_default = memo;
|
|
325
|
-
|
|
326
|
-
// src/operation/lib/get-mediatype-examples.ts
|
|
327
|
-
function getMediaTypeExamples(mediaType, mediaTypeObject, opts = {}) {
|
|
328
|
-
if (mediaTypeObject.example) {
|
|
329
|
-
return [
|
|
330
|
-
{
|
|
331
|
-
value: mediaTypeObject.example
|
|
332
|
-
}
|
|
333
|
-
];
|
|
334
|
-
} else if (mediaTypeObject.examples) {
|
|
335
|
-
const { examples } = mediaTypeObject;
|
|
336
|
-
const multipleExamples = Object.keys(examples).map((key) => {
|
|
337
|
-
let summary = key;
|
|
338
|
-
let description;
|
|
339
|
-
let example = examples[key];
|
|
340
|
-
if (example !== null && typeof example === "object") {
|
|
341
|
-
if ("summary" in example) {
|
|
342
|
-
summary = example.summary;
|
|
343
|
-
}
|
|
344
|
-
if ("description" in example) {
|
|
345
|
-
description = example.description;
|
|
346
|
-
}
|
|
347
|
-
if ("value" in example) {
|
|
348
|
-
if (example.value !== null && typeof example.value === "object" && "$ref" in example.value) {
|
|
349
|
-
return false;
|
|
350
|
-
}
|
|
351
|
-
example = example.value;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
const ret = { summary, title: key, value: example };
|
|
355
|
-
if (description) {
|
|
356
|
-
ret.description = description;
|
|
357
|
-
}
|
|
358
|
-
return ret;
|
|
359
|
-
}).filter((item) => item !== false);
|
|
360
|
-
if (multipleExamples.length) {
|
|
361
|
-
return multipleExamples;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
if (mediaTypeObject.schema) {
|
|
365
|
-
if (!matches_mimetype_default.xml(mediaType)) {
|
|
366
|
-
return [
|
|
367
|
-
{
|
|
368
|
-
value: samples_default(JSON.parse(JSON.stringify(mediaTypeObject.schema)), opts)
|
|
369
|
-
}
|
|
370
|
-
];
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
return [];
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// src/operation/lib/get-response-examples.ts
|
|
377
|
-
function getResponseExamples(operation) {
|
|
378
|
-
return Object.keys(operation.responses || {}).map((status) => {
|
|
379
|
-
const response = operation.responses?.[status];
|
|
380
|
-
let onlyHeaders = false;
|
|
381
|
-
if (!response || isRef(response)) {
|
|
382
|
-
return false;
|
|
383
|
-
}
|
|
384
|
-
const mediaTypes = {};
|
|
385
|
-
(response?.content ? Object.keys(response.content) : []).forEach((mediaType) => {
|
|
386
|
-
if (!mediaType) return;
|
|
387
|
-
const mediaTypeObject = response.content?.[mediaType];
|
|
388
|
-
if (!mediaTypeObject) return;
|
|
389
|
-
const examples = getMediaTypeExamples(mediaType, mediaTypeObject, {
|
|
390
|
-
includeReadOnly: true,
|
|
391
|
-
includeWriteOnly: false
|
|
392
|
-
});
|
|
393
|
-
if (examples) {
|
|
394
|
-
mediaTypes[mediaType] = examples;
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
if (response.headers && Object.keys(response.headers).length && !Object.keys(mediaTypes).length) {
|
|
398
|
-
mediaTypes["*/*"] = [];
|
|
399
|
-
onlyHeaders = true;
|
|
400
|
-
}
|
|
401
|
-
if (!Object.keys(mediaTypes).length) {
|
|
402
|
-
return false;
|
|
403
|
-
}
|
|
404
|
-
return {
|
|
405
|
-
status,
|
|
406
|
-
mediaTypes,
|
|
407
|
-
...onlyHeaders ? { onlyHeaders } : {}
|
|
408
|
-
};
|
|
409
|
-
}).filter((item) => item !== false);
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
// src/operation/lib/get-callback-examples.ts
|
|
413
|
-
function getCallbackExamples(operation) {
|
|
414
|
-
if (!operation.callbacks) {
|
|
415
|
-
return [];
|
|
416
|
-
}
|
|
417
|
-
const examples = Object.keys(operation.callbacks).map((identifier) => {
|
|
418
|
-
const callback = operation.callbacks?.[identifier];
|
|
419
|
-
if (!callback || isRef(callback)) {
|
|
420
|
-
return [];
|
|
421
|
-
}
|
|
422
|
-
const items = Object.keys(callback).map((expression) => {
|
|
423
|
-
return Object.keys(callback[expression]).map((method) => {
|
|
424
|
-
const pathItem = callback[expression];
|
|
425
|
-
const example = getResponseExamples(pathItem[method]);
|
|
426
|
-
if (example.length === 0) return false;
|
|
427
|
-
return {
|
|
428
|
-
identifier,
|
|
429
|
-
expression,
|
|
430
|
-
method,
|
|
431
|
-
example
|
|
432
|
-
};
|
|
433
|
-
});
|
|
434
|
-
});
|
|
435
|
-
return items.flat().filter((item) => item !== false);
|
|
436
|
-
});
|
|
437
|
-
return examples.flat();
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
// src/operation/lib/get-example-groups.ts
|
|
441
|
-
var noCorrespondingResponseKey = "NoCorrespondingResponseForCustomCodeSample";
|
|
442
|
-
function addMatchingResponseExamples(groups, operation) {
|
|
443
|
-
operation.getResponseExamples().forEach((example) => {
|
|
444
|
-
Object.entries(example.mediaTypes || {}).forEach(([mediaType, mediaTypeExamples]) => {
|
|
445
|
-
mediaTypeExamples.forEach((mediaTypeExample) => {
|
|
446
|
-
if (mediaTypeExample.title && Object.keys(groups).includes(mediaTypeExample.title)) {
|
|
447
|
-
groups[mediaTypeExample.title].response = {
|
|
448
|
-
mediaType,
|
|
449
|
-
mediaTypeExample,
|
|
450
|
-
status: example.status
|
|
451
|
-
};
|
|
452
|
-
if (!groups[mediaTypeExample.title].name) {
|
|
453
|
-
groups[mediaTypeExample.title].name = mediaTypeExample.summary || mediaTypeExample.title;
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
});
|
|
457
|
-
});
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
function getDefaultName(sample, count) {
|
|
461
|
-
return sample.name && sample.name.length > 0 ? sample.name : `Default${count[sample.language] > 1 ? ` #${count[sample.language]}` : ""}`;
|
|
462
|
-
}
|
|
463
|
-
function getExampleGroups(operation) {
|
|
464
|
-
const namelessCodeSampleCounts = {};
|
|
465
|
-
const groups = {};
|
|
466
|
-
const codeSamples = getExtension("code-samples", operation.api, operation);
|
|
467
|
-
codeSamples?.forEach((sample, i) => {
|
|
468
|
-
if (namelessCodeSampleCounts[sample.language]) {
|
|
469
|
-
namelessCodeSampleCounts[sample.language] += 1;
|
|
470
|
-
} else {
|
|
471
|
-
namelessCodeSampleCounts[sample.language] = 1;
|
|
472
|
-
}
|
|
473
|
-
const name = getDefaultName(sample, namelessCodeSampleCounts);
|
|
474
|
-
if (sample.correspondingExample) {
|
|
475
|
-
if (groups[sample.correspondingExample]?.customCodeSamples?.length) {
|
|
476
|
-
groups[sample.correspondingExample].customCodeSamples.push({ ...sample, name, originalIndex: i });
|
|
477
|
-
} else if (sample.correspondingExample) {
|
|
478
|
-
groups[sample.correspondingExample] = {
|
|
479
|
-
name,
|
|
480
|
-
customCodeSamples: [{ ...sample, name, originalIndex: i }]
|
|
481
|
-
};
|
|
482
|
-
}
|
|
483
|
-
} else if (groups[noCorrespondingResponseKey]?.customCodeSamples?.length) {
|
|
484
|
-
groups[noCorrespondingResponseKey].customCodeSamples.push({ ...sample, name, originalIndex: i });
|
|
485
|
-
} else {
|
|
486
|
-
groups[noCorrespondingResponseKey] = {
|
|
487
|
-
name,
|
|
488
|
-
customCodeSamples: [{ ...sample, name, originalIndex: i }]
|
|
489
|
-
};
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
if (Object.keys(groups).length) {
|
|
493
|
-
addMatchingResponseExamples(groups, operation);
|
|
494
|
-
return groups;
|
|
495
|
-
}
|
|
496
|
-
operation.getParameters().forEach((param) => {
|
|
497
|
-
Object.entries(param.examples || {}).forEach(([exampleKey, paramExample]) => {
|
|
498
|
-
if (isRef(paramExample)) {
|
|
499
|
-
return;
|
|
500
|
-
}
|
|
501
|
-
groups[exampleKey] = {
|
|
502
|
-
...groups[exampleKey],
|
|
503
|
-
name: groups[exampleKey]?.name || paramExample.summary || exampleKey,
|
|
504
|
-
request: {
|
|
505
|
-
...groups[exampleKey]?.request,
|
|
506
|
-
[param.in]: {
|
|
507
|
-
...groups[exampleKey]?.request?.[param.in],
|
|
508
|
-
[param.name]: paramExample.value
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
});
|
|
513
|
-
});
|
|
514
|
-
operation.getRequestBodyExamples().forEach((requestExample) => {
|
|
515
|
-
requestExample.examples.forEach((mediaTypeExample) => {
|
|
516
|
-
if (mediaTypeExample.title) {
|
|
517
|
-
const mediaType = requestExample.mediaType === "application/x-www-form-urlencoded" ? "formData" : "body";
|
|
518
|
-
groups[mediaTypeExample.title] = {
|
|
519
|
-
...groups[mediaTypeExample.title],
|
|
520
|
-
name: groups[mediaTypeExample.title]?.name || mediaTypeExample.summary || mediaTypeExample.title,
|
|
521
|
-
request: {
|
|
522
|
-
...groups[mediaTypeExample.title]?.request,
|
|
523
|
-
[mediaType]: mediaTypeExample.value
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
});
|
|
528
|
-
});
|
|
529
|
-
if (Object.keys(groups).length) {
|
|
530
|
-
addMatchingResponseExamples(groups, operation);
|
|
531
|
-
}
|
|
532
|
-
Object.entries(groups).forEach(([groupId, group]) => {
|
|
533
|
-
if (group.request && !group.response) {
|
|
534
|
-
delete groups[groupId];
|
|
535
|
-
}
|
|
536
|
-
});
|
|
537
|
-
return groups;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
// src/operation/lib/get-requestbody-examples.ts
|
|
541
|
-
function getRequestBodyExamples(operation) {
|
|
542
|
-
const requestBody = operation.requestBody;
|
|
543
|
-
if (!requestBody || isRef(requestBody) || !requestBody.content) {
|
|
544
|
-
return [];
|
|
545
|
-
}
|
|
546
|
-
return Object.keys(requestBody.content || {}).map((mediaType) => {
|
|
547
|
-
const mediaTypeObject = requestBody.content[mediaType];
|
|
548
|
-
const examples = getMediaTypeExamples(mediaType, mediaTypeObject, {
|
|
549
|
-
includeReadOnly: false,
|
|
550
|
-
includeWriteOnly: true
|
|
551
|
-
});
|
|
552
|
-
if (!examples.length) {
|
|
553
|
-
return false;
|
|
554
|
-
}
|
|
555
|
-
return {
|
|
556
|
-
mediaType,
|
|
557
|
-
examples
|
|
558
|
-
};
|
|
559
|
-
}).filter((item) => item !== false);
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
// src/operation/lib/get-response-as-json-schema.ts
|
|
563
|
-
var isJSON = matches_mimetype_default.json;
|
|
564
|
-
function buildHeadersSchema(response, opts) {
|
|
565
|
-
const headersSchema = {
|
|
566
|
-
type: "object",
|
|
567
|
-
properties: {}
|
|
568
|
-
};
|
|
569
|
-
if (response.headers) {
|
|
570
|
-
Object.keys(response.headers).forEach((key) => {
|
|
571
|
-
if (!response.headers?.[key] || isRef(response.headers?.[key])) {
|
|
572
|
-
return;
|
|
573
|
-
}
|
|
574
|
-
if (response.headers[key].schema) {
|
|
575
|
-
const header = response.headers[key];
|
|
576
|
-
if (!header.schema || isRef(header.schema)) {
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
headersSchema.properties[key] = toJSONSchema(header.schema, {
|
|
580
|
-
addEnumsToDescriptions: true,
|
|
581
|
-
transformer: opts?.transformer
|
|
582
|
-
});
|
|
583
|
-
if (header.description) {
|
|
584
|
-
headersSchema.properties[key].description = header.description;
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
});
|
|
588
|
-
}
|
|
589
|
-
const headersWrapper = {
|
|
590
|
-
schema: headersSchema,
|
|
591
|
-
type: "object",
|
|
592
|
-
label: "Headers"
|
|
593
|
-
};
|
|
594
|
-
if (response.description && headersWrapper.schema) {
|
|
595
|
-
headersWrapper.description = response.description;
|
|
596
|
-
}
|
|
597
|
-
return headersWrapper;
|
|
598
|
-
}
|
|
599
|
-
function getResponseAsJSONSchema(operation, api, statusCode, opts) {
|
|
600
|
-
const response = operation.getResponseByStatusCode(statusCode);
|
|
601
|
-
const jsonSchema = [];
|
|
602
|
-
if (!response) {
|
|
603
|
-
return null;
|
|
604
|
-
}
|
|
605
|
-
let hasCircularRefs = false;
|
|
606
|
-
let hasDiscriminatorMappingRefs = false;
|
|
607
|
-
function refLogger(ref, type) {
|
|
608
|
-
if (type === "ref") {
|
|
609
|
-
hasCircularRefs = true;
|
|
610
|
-
} else {
|
|
611
|
-
hasDiscriminatorMappingRefs = true;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
function getPreferredSchema(content, preferredContentType) {
|
|
615
|
-
if (!content) {
|
|
616
|
-
return null;
|
|
617
|
-
}
|
|
618
|
-
const contentTypes = Object.keys(content);
|
|
619
|
-
if (!contentTypes.length) {
|
|
620
|
-
return null;
|
|
621
|
-
}
|
|
622
|
-
if (preferredContentType) {
|
|
623
|
-
if (contentTypes.includes(preferredContentType)) {
|
|
624
|
-
const schema2 = cloneObject(content[preferredContentType].schema);
|
|
625
|
-
if (!schema2) {
|
|
626
|
-
return null;
|
|
627
|
-
}
|
|
628
|
-
return toJSONSchema(schema2, {
|
|
629
|
-
addEnumsToDescriptions: true,
|
|
630
|
-
refLogger,
|
|
631
|
-
transformer: opts?.transformer
|
|
632
|
-
});
|
|
633
|
-
}
|
|
634
|
-
return null;
|
|
635
|
-
}
|
|
636
|
-
for (let i = 0; i < contentTypes.length; i++) {
|
|
637
|
-
if (isJSON(contentTypes[i])) {
|
|
638
|
-
const schema2 = cloneObject(content[contentTypes[i]].schema);
|
|
639
|
-
if (!schema2) {
|
|
640
|
-
return {};
|
|
641
|
-
}
|
|
642
|
-
return toJSONSchema(schema2, {
|
|
643
|
-
addEnumsToDescriptions: true,
|
|
644
|
-
refLogger,
|
|
645
|
-
transformer: opts?.transformer
|
|
646
|
-
});
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
const contentType = contentTypes.shift();
|
|
650
|
-
if (!contentType) {
|
|
651
|
-
return {};
|
|
652
|
-
}
|
|
653
|
-
const schema = cloneObject(content[contentType].schema);
|
|
654
|
-
if (!schema) {
|
|
655
|
-
return {};
|
|
656
|
-
}
|
|
657
|
-
return toJSONSchema(schema, {
|
|
658
|
-
addEnumsToDescriptions: true,
|
|
659
|
-
refLogger,
|
|
660
|
-
transformer: opts?.transformer
|
|
661
|
-
});
|
|
662
|
-
}
|
|
663
|
-
const foundSchema = getPreferredSchema(response.content, opts?.contentType);
|
|
664
|
-
if (opts?.contentType && !foundSchema) {
|
|
665
|
-
return null;
|
|
666
|
-
}
|
|
667
|
-
if (foundSchema) {
|
|
668
|
-
const schema = cloneObject(foundSchema);
|
|
669
|
-
const schemaWrapper = {
|
|
670
|
-
// If there's no `type` then the root schema is a circular `$ref` that we likely won't be
|
|
671
|
-
// able to render so instead of generating a JSON Schema with an `undefined` type we should
|
|
672
|
-
// default to `string` so there's at least *something* the end-user can interact with.
|
|
673
|
-
type: foundSchema.type || "string",
|
|
674
|
-
schema: isPrimitive(schema) ? schema : {
|
|
675
|
-
...schema,
|
|
676
|
-
$schema: getSchemaVersionString(schema, api)
|
|
677
|
-
},
|
|
678
|
-
label: "Response body"
|
|
679
|
-
};
|
|
680
|
-
if (response.description && schemaWrapper.schema) {
|
|
681
|
-
schemaWrapper.description = response.description;
|
|
682
|
-
}
|
|
683
|
-
if (api.components && schemaWrapper.schema) {
|
|
684
|
-
if (hasCircularRefs || hasDiscriminatorMappingRefs && opts?.includeDiscriminatorMappingRefs) {
|
|
685
|
-
schemaWrapper.schema.components = cloneObject(
|
|
686
|
-
api.components
|
|
687
|
-
);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
jsonSchema.push(schemaWrapper);
|
|
691
|
-
}
|
|
692
|
-
if (response.headers) {
|
|
693
|
-
jsonSchema.push(buildHeadersSchema(response, opts));
|
|
694
|
-
}
|
|
695
|
-
return jsonSchema.length ? jsonSchema : null;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
// src/operation/lib/operationId.ts
|
|
699
|
-
function hasOperationId(operation) {
|
|
700
|
-
return Boolean("operationId" in operation && operation.operationId?.length);
|
|
701
|
-
}
|
|
702
|
-
function getOperationId(path, method, operation, opts = {}) {
|
|
703
|
-
function sanitize(id) {
|
|
704
|
-
return id.replace(opts?.camelCase || opts?.friendlyCase ? /[^a-zA-Z0-9_]/g : /[^a-zA-Z0-9]/g, "-").replace(/--+/g, "-").replace(/^-|-$/g, "");
|
|
705
|
-
}
|
|
706
|
-
const operationIdExists = hasOperationId(operation);
|
|
707
|
-
let operationId;
|
|
708
|
-
if (operationIdExists) {
|
|
709
|
-
operationId = operation.operationId;
|
|
710
|
-
} else {
|
|
711
|
-
operationId = sanitize(path).toLowerCase();
|
|
712
|
-
}
|
|
713
|
-
const currMethod = method.toLowerCase();
|
|
714
|
-
if (opts?.camelCase || opts?.friendlyCase) {
|
|
715
|
-
if (opts?.friendlyCase) {
|
|
716
|
-
operationId = operationId.replaceAll("_", " ");
|
|
717
|
-
if (!operationIdExists) {
|
|
718
|
-
operationId = operationId.replace(/[^a-zA-Z0-9_]+(.)/g, (_, chr) => ` ${chr}`).split(" ").filter((word, i, arr) => word !== arr[i - 1]).join(" ");
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
operationId = operationId.replace(/[^a-zA-Z0-9_]+(.)/g, (_, chr) => chr.toUpperCase());
|
|
722
|
-
if (operationIdExists) {
|
|
723
|
-
operationId = sanitize(operationId);
|
|
724
|
-
}
|
|
725
|
-
operationId = operationId.replace(/^[0-9]/g, (match) => `_${match}`);
|
|
726
|
-
operationId = operationId.charAt(0).toLowerCase() + operationId.slice(1);
|
|
727
|
-
if (operationId.startsWith(currMethod)) {
|
|
728
|
-
return operationId;
|
|
729
|
-
}
|
|
730
|
-
if (operationIdExists) {
|
|
731
|
-
return operationId;
|
|
732
|
-
}
|
|
733
|
-
operationId = operationId.charAt(0).toUpperCase() + operationId.slice(1);
|
|
734
|
-
return `${currMethod}${operationId}`;
|
|
735
|
-
} else if (operationIdExists) {
|
|
736
|
-
return operationId;
|
|
737
|
-
}
|
|
738
|
-
return `${currMethod}_${operationId}`;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
// src/operation/index.ts
|
|
742
|
-
var Operation = class {
|
|
743
|
-
/**
|
|
744
|
-
* Schema of the operation from the API Definition.
|
|
745
|
-
*/
|
|
746
|
-
schema;
|
|
747
|
-
/**
|
|
748
|
-
* OpenAPI API Definition that this operation originated from.
|
|
749
|
-
*/
|
|
750
|
-
api;
|
|
751
|
-
/**
|
|
752
|
-
* Path that this operation is targeted towards.
|
|
753
|
-
*/
|
|
754
|
-
path;
|
|
755
|
-
/**
|
|
756
|
-
* HTTP Method that this operation is targeted towards.
|
|
757
|
-
*/
|
|
758
|
-
method;
|
|
759
|
-
/**
|
|
760
|
-
* The primary Content Type that this operation accepts.
|
|
761
|
-
*/
|
|
762
|
-
contentType;
|
|
763
|
-
/**
|
|
764
|
-
* An object with groups of all example definitions (body/header/query/path/response/etc.)
|
|
765
|
-
*/
|
|
766
|
-
exampleGroups;
|
|
767
|
-
/**
|
|
768
|
-
* Request body examples for this operation.
|
|
769
|
-
*/
|
|
770
|
-
requestBodyExamples;
|
|
771
|
-
/**
|
|
772
|
-
* Response examples for this operation.
|
|
773
|
-
*/
|
|
774
|
-
responseExamples;
|
|
775
|
-
/**
|
|
776
|
-
* Callback examples for this operation (if it has callbacks).
|
|
777
|
-
*/
|
|
778
|
-
callbackExamples;
|
|
779
|
-
/**
|
|
780
|
-
* Flattened out arrays of both request and response headers that are utilized on this operation.
|
|
781
|
-
*/
|
|
782
|
-
headers;
|
|
783
|
-
/**
|
|
784
|
-
* Internal storage array that the library utilizes to keep track of the times the
|
|
785
|
-
* {@see Operation.dereference} has been called so that if you initiate multiple promises they'll
|
|
786
|
-
* all end up returning the same data set once the initial dereference call completed.
|
|
787
|
-
*/
|
|
788
|
-
promises;
|
|
789
|
-
/**
|
|
790
|
-
* Internal storage array that the library utilizes to keep track of its `dereferencing` state so
|
|
791
|
-
* it doesn't initiate multiple dereferencing processes.
|
|
792
|
-
*/
|
|
793
|
-
dereferencing;
|
|
794
|
-
constructor(api, path, method, operation) {
|
|
795
|
-
this.schema = operation;
|
|
796
|
-
this.api = api;
|
|
797
|
-
this.path = path;
|
|
798
|
-
this.method = method;
|
|
799
|
-
this.contentType = void 0;
|
|
800
|
-
this.requestBodyExamples = void 0;
|
|
801
|
-
this.responseExamples = void 0;
|
|
802
|
-
this.callbackExamples = void 0;
|
|
803
|
-
this.exampleGroups = void 0;
|
|
804
|
-
this.headers = {
|
|
805
|
-
request: [],
|
|
806
|
-
response: []
|
|
807
|
-
};
|
|
808
|
-
this.promises = [];
|
|
809
|
-
this.dereferencing = {
|
|
810
|
-
processing: false,
|
|
811
|
-
complete: false,
|
|
812
|
-
circularRefs: []
|
|
813
|
-
};
|
|
814
|
-
}
|
|
815
|
-
/**
|
|
816
|
-
* Retrieve the `summary` for this operation.
|
|
817
|
-
*
|
|
818
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationsummary}
|
|
819
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-summary}
|
|
820
|
-
*/
|
|
821
|
-
getSummary() {
|
|
822
|
-
if (this.schema?.summary && typeof this.schema.summary === "string") {
|
|
823
|
-
return this.schema.summary;
|
|
824
|
-
}
|
|
825
|
-
const pathItem = this.api.paths?.[this.path];
|
|
826
|
-
if (pathItem?.summary && typeof pathItem.summary === "string") {
|
|
827
|
-
return pathItem.summary;
|
|
828
|
-
}
|
|
829
|
-
return void 0;
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* Retrieve the `description` for this operation.
|
|
833
|
-
*
|
|
834
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationdescription}
|
|
835
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-description}
|
|
836
|
-
*/
|
|
837
|
-
getDescription() {
|
|
838
|
-
if (this.schema?.description && typeof this.schema.description === "string") {
|
|
839
|
-
return this.schema.description;
|
|
840
|
-
}
|
|
841
|
-
const pathItem = this.api.paths?.[this.path];
|
|
842
|
-
if (pathItem?.description && typeof pathItem.description === "string") {
|
|
843
|
-
return pathItem.description;
|
|
844
|
-
}
|
|
845
|
-
return void 0;
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Retrieve the primary content type for this operation. If multiple exist, the first JSON-like
|
|
849
|
-
* type will be returned.
|
|
850
|
-
*
|
|
851
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-requestbodycontent}
|
|
852
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
|
|
853
|
-
*/
|
|
854
|
-
getContentType() {
|
|
855
|
-
if (this.contentType) {
|
|
856
|
-
return this.contentType;
|
|
857
|
-
}
|
|
858
|
-
let types = [];
|
|
859
|
-
if (this.schema.requestBody) {
|
|
860
|
-
if (isRef(this.schema.requestBody)) {
|
|
861
|
-
this.schema.requestBody = dereferenceRef(this.schema.requestBody, this.api);
|
|
862
|
-
}
|
|
863
|
-
if (this.schema.requestBody && "content" in this.schema.requestBody) {
|
|
864
|
-
types = Object.keys(this.schema.requestBody.content);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
this.contentType = "application/json";
|
|
868
|
-
if (types?.length) {
|
|
869
|
-
this.contentType = types[0];
|
|
870
|
-
}
|
|
871
|
-
types.forEach((t) => {
|
|
872
|
-
if (matches_mimetype_default.json(t)) {
|
|
873
|
-
this.contentType = t;
|
|
874
|
-
}
|
|
875
|
-
});
|
|
876
|
-
return this.contentType;
|
|
877
|
-
}
|
|
878
|
-
/**
|
|
879
|
-
* Checks if the current operation has a `x-www-form-urlencoded` content type payload.
|
|
880
|
-
*
|
|
881
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-requestbodycontent}
|
|
882
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
|
|
883
|
-
*/
|
|
884
|
-
isFormUrlEncoded() {
|
|
885
|
-
return matches_mimetype_default.formUrlEncoded(this.getContentType());
|
|
886
|
-
}
|
|
887
|
-
/**
|
|
888
|
-
* Checks if the current operation has a mutipart content type payload.
|
|
889
|
-
*
|
|
890
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-requestbodycontent}
|
|
891
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
|
|
892
|
-
*/
|
|
893
|
-
isMultipart() {
|
|
894
|
-
return matches_mimetype_default.multipart(this.getContentType());
|
|
895
|
-
}
|
|
896
|
-
/**
|
|
897
|
-
* Checks if the current operation has a JSON-like content type payload.
|
|
898
|
-
*
|
|
899
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-requestbodycontent}
|
|
900
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
|
|
901
|
-
*/
|
|
902
|
-
isJson() {
|
|
903
|
-
return matches_mimetype_default.json(this.getContentType());
|
|
904
|
-
}
|
|
905
|
-
/**
|
|
906
|
-
* Checks if the current operation has an XML content type payload.
|
|
907
|
-
*
|
|
908
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-requestbodycontent}
|
|
909
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
|
|
910
|
-
*/
|
|
911
|
-
isXml() {
|
|
912
|
-
return matches_mimetype_default.xml(this.getContentType());
|
|
913
|
-
}
|
|
914
|
-
/**
|
|
915
|
-
* Checks if the current operation is a webhook or not.
|
|
916
|
-
*
|
|
917
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#oas-webhooks}
|
|
918
|
-
*/
|
|
919
|
-
isWebhook() {
|
|
920
|
-
return this instanceof Webhook;
|
|
921
|
-
}
|
|
922
|
-
/**
|
|
923
|
-
* Returns an array of all security requirements associated wtih this operation. If none are
|
|
924
|
-
* defined at the operation level, the securities for the entire API definition are returned
|
|
925
|
-
* (with an empty array as a final fallback).
|
|
926
|
-
*
|
|
927
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#security-requirement-object}
|
|
928
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#security-requirement-object}
|
|
929
|
-
*/
|
|
930
|
-
getSecurity() {
|
|
931
|
-
if (!this.api?.components?.securitySchemes || !Object.keys(this.api.components.securitySchemes).length) {
|
|
932
|
-
return [];
|
|
933
|
-
}
|
|
934
|
-
return this.schema.security || this.api.security || [];
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* Retrieve a collection of grouped security schemes. The inner array determines AND-grouped
|
|
938
|
-
* security schemes, the outer array determines OR-groups.
|
|
939
|
-
*
|
|
940
|
-
* @see {@link https://swagger.io/docs/specification/authentication/#multiple}
|
|
941
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#security-requirement-object}
|
|
942
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#security-requirement-object}
|
|
943
|
-
* @param filterInvalid Optional flag that, when set to `true`, filters out invalid/nonexistent
|
|
944
|
-
* security schemes, rather than returning `false`.
|
|
945
|
-
*/
|
|
946
|
-
getSecurityWithTypes(filterInvalid = false) {
|
|
947
|
-
return this.getSecurity().map((requirement) => {
|
|
948
|
-
let keys;
|
|
949
|
-
try {
|
|
950
|
-
keys = Object.keys(requirement);
|
|
951
|
-
} catch {
|
|
952
|
-
return false;
|
|
953
|
-
}
|
|
954
|
-
const keysWithTypes = keys.map((key) => {
|
|
955
|
-
let security;
|
|
956
|
-
try {
|
|
957
|
-
if (!this.api.components?.securitySchemes?.[key] || isRef(this.api.components.securitySchemes[key])) {
|
|
958
|
-
return false;
|
|
959
|
-
}
|
|
960
|
-
security = this.api.components.securitySchemes[key];
|
|
961
|
-
} catch {
|
|
962
|
-
return false;
|
|
963
|
-
}
|
|
964
|
-
if (!security) return false;
|
|
965
|
-
let type = null;
|
|
966
|
-
if (security.type === "http") {
|
|
967
|
-
if (security.scheme === "basic") type = "Basic";
|
|
968
|
-
else if (security.scheme === "bearer") type = "Bearer";
|
|
969
|
-
else type = security.type;
|
|
970
|
-
} else if (security.type === "oauth2") {
|
|
971
|
-
type = "OAuth2";
|
|
972
|
-
} else if (security.type === "apiKey") {
|
|
973
|
-
if (security.in === "query") type = "Query";
|
|
974
|
-
else if (security.in === "header") type = "Header";
|
|
975
|
-
else if (security.in === "cookie") type = "Cookie";
|
|
976
|
-
else type = security.type;
|
|
977
|
-
} else {
|
|
978
|
-
return false;
|
|
979
|
-
}
|
|
980
|
-
return {
|
|
981
|
-
type,
|
|
982
|
-
security: {
|
|
983
|
-
...security,
|
|
984
|
-
_key: key,
|
|
985
|
-
_requirements: requirement[key]
|
|
986
|
-
}
|
|
987
|
-
};
|
|
988
|
-
});
|
|
989
|
-
if (filterInvalid) return keysWithTypes.filter((key) => key !== false);
|
|
990
|
-
return keysWithTypes;
|
|
991
|
-
});
|
|
992
|
-
}
|
|
993
|
-
/**
|
|
994
|
-
* Retrieve an object where the keys are unique scheme types, and the values are arrays
|
|
995
|
-
* containing each security scheme of that type.
|
|
996
|
-
*
|
|
997
|
-
*/
|
|
998
|
-
prepareSecurity() {
|
|
999
|
-
return this.getSecurityWithTypes().reduce(
|
|
1000
|
-
(prev, securities) => {
|
|
1001
|
-
if (!securities) return prev;
|
|
1002
|
-
securities.forEach((security) => {
|
|
1003
|
-
if (!security) return;
|
|
1004
|
-
if (!prev[security.type]) prev[security.type] = [];
|
|
1005
|
-
const exists = prev[security.type].some((sec) => sec._key === security.security._key);
|
|
1006
|
-
if (!exists) {
|
|
1007
|
-
if (security.security?._requirements) delete security.security._requirements;
|
|
1008
|
-
prev[security.type].push(security.security);
|
|
1009
|
-
}
|
|
1010
|
-
});
|
|
1011
|
-
return prev;
|
|
1012
|
-
},
|
|
1013
|
-
{}
|
|
1014
|
-
);
|
|
1015
|
-
}
|
|
1016
|
-
/**
|
|
1017
|
-
* Retrieve all of the headers, request and response, that are associated with this operation.
|
|
1018
|
-
*
|
|
1019
|
-
*/
|
|
1020
|
-
getHeaders() {
|
|
1021
|
-
const security = this.prepareSecurity();
|
|
1022
|
-
if (security.Header) {
|
|
1023
|
-
this.headers.request = security.Header.map((h) => {
|
|
1024
|
-
if (!("name" in h)) return false;
|
|
1025
|
-
return h.name;
|
|
1026
|
-
}).filter((item) => item !== false);
|
|
1027
|
-
}
|
|
1028
|
-
if (security.Bearer || security.Basic || security.OAuth2) {
|
|
1029
|
-
this.headers.request.push("Authorization");
|
|
1030
|
-
}
|
|
1031
|
-
if (security.Cookie) {
|
|
1032
|
-
this.headers.request.push("Cookie");
|
|
1033
|
-
}
|
|
1034
|
-
if (this.schema.parameters) {
|
|
1035
|
-
this.headers.request = this.headers.request.concat(
|
|
1036
|
-
this.schema.parameters.map((p) => {
|
|
1037
|
-
if (isRef(p)) {
|
|
1038
|
-
return void 0;
|
|
1039
|
-
}
|
|
1040
|
-
if (p.in && p.in === "header") return p.name;
|
|
1041
|
-
return void 0;
|
|
1042
|
-
}).filter((item) => item !== void 0)
|
|
1043
|
-
);
|
|
1044
|
-
}
|
|
1045
|
-
if (this.schema.responses) {
|
|
1046
|
-
this.headers.response = Object.keys(this.schema.responses).map((r) => {
|
|
1047
|
-
const response = this.schema.responses?.[r];
|
|
1048
|
-
if (!response || isRef(response)) {
|
|
1049
|
-
return [];
|
|
1050
|
-
}
|
|
1051
|
-
return response?.headers ? Object.keys(response.headers) : [];
|
|
1052
|
-
}).reduce((a, b) => a.concat(b), []);
|
|
1053
|
-
}
|
|
1054
|
-
if (!this.headers.request.includes("Content-Type") && this.schema.requestBody) {
|
|
1055
|
-
const requestBody = this.schema.requestBody;
|
|
1056
|
-
if (requestBody && !isRef(requestBody) && "content" in requestBody && Object.keys(requestBody.content)) {
|
|
1057
|
-
this.headers.request.push("Content-Type");
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
if (this.schema.responses) {
|
|
1061
|
-
if (Object.keys(this.schema.responses).some((r) => {
|
|
1062
|
-
const response = this.schema.responses?.[r];
|
|
1063
|
-
if (!response || isRef(response)) {
|
|
1064
|
-
return false;
|
|
1065
|
-
}
|
|
1066
|
-
return response?.content && Object.keys(response.content).length > 0;
|
|
1067
|
-
})) {
|
|
1068
|
-
if (!this.headers.request.includes("Accept")) this.headers.request.push("Accept");
|
|
1069
|
-
if (!this.headers.response.includes("Content-Type")) this.headers.response.push("Content-Type");
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
return this.headers;
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* Determine if this operation has an `operationId` present in its schema. Note that if one is
|
|
1076
|
-
* present in the schema but is an empty string then this will return `false`.
|
|
1077
|
-
*
|
|
1078
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationid}
|
|
1079
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-id}
|
|
1080
|
-
*/
|
|
1081
|
-
hasOperationId() {
|
|
1082
|
-
return hasOperationId(this.schema);
|
|
1083
|
-
}
|
|
1084
|
-
/**
|
|
1085
|
-
* Determine if an operation has an `operationId` present in its schema. Note that if one is
|
|
1086
|
-
* present in the schema but is an empty string then this will return `false`.
|
|
1087
|
-
*
|
|
1088
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationid}
|
|
1089
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-id}
|
|
1090
|
-
*/
|
|
1091
|
-
static hasOperationId(schema) {
|
|
1092
|
-
return hasOperationId(schema);
|
|
1093
|
-
}
|
|
1094
|
-
/**
|
|
1095
|
-
* Get an `operationId` for this operation. If one is not present (it's not required by the spec!)
|
|
1096
|
-
* a hash of the path and method will be returned instead.
|
|
1097
|
-
*
|
|
1098
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationid}
|
|
1099
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-id}
|
|
1100
|
-
*/
|
|
1101
|
-
getOperationId(opts = {}) {
|
|
1102
|
-
return getOperationId(this.path, this.method, this.schema, opts);
|
|
1103
|
-
}
|
|
1104
|
-
/**
|
|
1105
|
-
* Get an `operationId` for an operation. If one is not present (it's not required by the spec!)
|
|
1106
|
-
* a hash of the path and method will be returned instead.
|
|
1107
|
-
*
|
|
1108
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationid}
|
|
1109
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-id}
|
|
1110
|
-
*/
|
|
1111
|
-
static getOperationId(path, method, schema, opts = {}) {
|
|
1112
|
-
return getOperationId(path, method, schema, opts);
|
|
1113
|
-
}
|
|
1114
|
-
/**
|
|
1115
|
-
* Return an array of all tags, and their metadata, that exist on this operation.
|
|
1116
|
-
*
|
|
1117
|
-
*/
|
|
1118
|
-
getTags() {
|
|
1119
|
-
if (!("tags" in this.schema)) {
|
|
1120
|
-
return [];
|
|
1121
|
-
}
|
|
1122
|
-
const oasTagMap = /* @__PURE__ */ new Map();
|
|
1123
|
-
if (Array.isArray(this.api?.tags)) {
|
|
1124
|
-
this.api.tags.forEach((tag) => {
|
|
1125
|
-
oasTagMap.set(tag.name, tag);
|
|
1126
|
-
});
|
|
1127
|
-
}
|
|
1128
|
-
const oasTags = Object.fromEntries(oasTagMap);
|
|
1129
|
-
const tags = [];
|
|
1130
|
-
if (Array.isArray(this.schema.tags)) {
|
|
1131
|
-
this.schema.tags.forEach((tag) => {
|
|
1132
|
-
if (tag in oasTags) {
|
|
1133
|
-
tags.push(oasTags[tag]);
|
|
1134
|
-
} else {
|
|
1135
|
-
tags.push({
|
|
1136
|
-
name: tag
|
|
1137
|
-
});
|
|
1138
|
-
}
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
return tags;
|
|
1142
|
-
}
|
|
1143
|
-
/**
|
|
1144
|
-
* Return is the operation is flagged as `deprecated` or not.
|
|
1145
|
-
*
|
|
1146
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationdeprecated}
|
|
1147
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-deprecated}
|
|
1148
|
-
*/
|
|
1149
|
-
isDeprecated() {
|
|
1150
|
-
return Boolean("deprecated" in this.schema ? this.schema.deprecated : false);
|
|
1151
|
-
}
|
|
1152
|
-
/**
|
|
1153
|
-
* Determine if the operation has any (non-request body) parameters.
|
|
1154
|
-
*
|
|
1155
|
-
*/
|
|
1156
|
-
hasParameters() {
|
|
1157
|
-
return !!this.getParameters().length;
|
|
1158
|
-
}
|
|
1159
|
-
/**
|
|
1160
|
-
* Return the parameters (non-request body) on the operation.
|
|
1161
|
-
*
|
|
1162
|
-
* @todo Add support for `ReferenceObject`
|
|
1163
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationparameters}
|
|
1164
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-parameters}
|
|
1165
|
-
*/
|
|
1166
|
-
getParameters() {
|
|
1167
|
-
let parameters = (this.schema?.parameters || []).filter(
|
|
1168
|
-
(param) => param && !isRef(param)
|
|
1169
|
-
);
|
|
1170
|
-
const commonParams = (this.api?.paths?.[this.path]?.parameters || []).filter(
|
|
1171
|
-
(param) => param && !isRef(param)
|
|
1172
|
-
);
|
|
1173
|
-
if (commonParams.length) {
|
|
1174
|
-
parameters = parameters.concat(dedupeCommonParameters(parameters, commonParams) || []);
|
|
1175
|
-
}
|
|
1176
|
-
return parameters;
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* Determine if this operation has any required parameters.
|
|
1180
|
-
*
|
|
1181
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationparameters}
|
|
1182
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-parameters}
|
|
1183
|
-
*/
|
|
1184
|
-
hasRequiredParameters() {
|
|
1185
|
-
return this.getParameters().some((param) => "required" in param && param.required);
|
|
1186
|
-
}
|
|
1187
|
-
/**
|
|
1188
|
-
* Convert the operation into an array of JSON Schema schemas for each available type of
|
|
1189
|
-
* parameter available on the operation.
|
|
1190
|
-
*
|
|
1191
|
-
*/
|
|
1192
|
-
getParametersAsJSONSchema(opts = {}) {
|
|
1193
|
-
return getParametersAsJSONSchema(this, this.api, {
|
|
1194
|
-
includeDiscriminatorMappingRefs: true,
|
|
1195
|
-
transformer: (s) => s,
|
|
1196
|
-
...opts
|
|
1197
|
-
});
|
|
1198
|
-
}
|
|
1199
|
-
/**
|
|
1200
|
-
* Get a single response for this status code, formatted as JSON schema.
|
|
1201
|
-
*
|
|
1202
|
-
* @param statusCode Status code to pull a JSON Schema response for.
|
|
1203
|
-
* @param opts Options for schema generation.
|
|
1204
|
-
* @param opts.contentType Optional content-type to use. If specified and the response doesn't have
|
|
1205
|
-
* this content-type, the function will return null.
|
|
1206
|
-
*/
|
|
1207
|
-
getResponseAsJSONSchema(statusCode, opts = {}) {
|
|
1208
|
-
return getResponseAsJSONSchema(this, this.api, statusCode, {
|
|
1209
|
-
includeDiscriminatorMappingRefs: true,
|
|
1210
|
-
transformer: (s) => s,
|
|
1211
|
-
...opts
|
|
1212
|
-
});
|
|
1213
|
-
}
|
|
1214
|
-
/**
|
|
1215
|
-
* Get an array of all valid response status codes for this operation.
|
|
1216
|
-
*
|
|
1217
|
-
*/
|
|
1218
|
-
getResponseStatusCodes() {
|
|
1219
|
-
return this.schema.responses ? Object.keys(this.schema.responses) : [];
|
|
1220
|
-
}
|
|
1221
|
-
/**
|
|
1222
|
-
* Determine if the operation has any request bodies.
|
|
1223
|
-
*
|
|
1224
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#user-content-operationrequestbody}
|
|
1225
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-operation-request-body}
|
|
1226
|
-
*/
|
|
1227
|
-
hasRequestBody() {
|
|
1228
|
-
return !!this.schema.requestBody;
|
|
1229
|
-
}
|
|
1230
|
-
/**
|
|
1231
|
-
* Retrieve the list of all available media types that the operations request body can accept.
|
|
1232
|
-
*
|
|
1233
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#media-type-object}
|
|
1234
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#media-type-object}
|
|
1235
|
-
*/
|
|
1236
|
-
getRequestBodyMediaTypes() {
|
|
1237
|
-
if (!this.hasRequestBody()) {
|
|
1238
|
-
return [];
|
|
1239
|
-
}
|
|
1240
|
-
const requestBody = this.schema.requestBody;
|
|
1241
|
-
if (!requestBody || isRef(requestBody)) {
|
|
1242
|
-
return [];
|
|
1243
|
-
}
|
|
1244
|
-
return Object.keys(requestBody.content);
|
|
1245
|
-
}
|
|
1246
|
-
/**
|
|
1247
|
-
* Determine if this operation has a required request body.
|
|
1248
|
-
*
|
|
1249
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#media-type-object}
|
|
1250
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#media-type-object}
|
|
1251
|
-
*/
|
|
1252
|
-
hasRequiredRequestBody() {
|
|
1253
|
-
if (!this.hasRequestBody()) {
|
|
1254
|
-
return false;
|
|
1255
|
-
}
|
|
1256
|
-
const requestBody = this.schema.requestBody;
|
|
1257
|
-
if (!requestBody || isRef(requestBody)) {
|
|
1258
|
-
return false;
|
|
1259
|
-
}
|
|
1260
|
-
if (requestBody.required) {
|
|
1261
|
-
return true;
|
|
1262
|
-
}
|
|
1263
|
-
const parameters = this.getParametersAsJSONSchema();
|
|
1264
|
-
if (parameters === null) {
|
|
1265
|
-
return false;
|
|
1266
|
-
}
|
|
1267
|
-
return !!parameters.filter((js) => ["body", "formData"].includes(js.type)).find((js) => js.schema && Array.isArray(js.schema.required) && js.schema.required.length);
|
|
1268
|
-
}
|
|
1269
|
-
/**
|
|
1270
|
-
* Retrieve a specific request body content schema off this operation.
|
|
1271
|
-
*
|
|
1272
|
-
* If no media type is supplied this will return either the first available JSON-like request
|
|
1273
|
-
* body, or the first available if there are no JSON-like media types present. When this return
|
|
1274
|
-
* comes back it's in the form of an array with the first key being the selected media type,
|
|
1275
|
-
* followed by the media type object in question.
|
|
1276
|
-
*
|
|
1277
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#media-type-object}
|
|
1278
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#media-type-object}
|
|
1279
|
-
* @param mediaType Specific request body media type to retrieve if present.
|
|
1280
|
-
*/
|
|
1281
|
-
getRequestBody(mediaType) {
|
|
1282
|
-
if (!this.hasRequestBody()) {
|
|
1283
|
-
return false;
|
|
1284
|
-
}
|
|
1285
|
-
const requestBody = this.schema.requestBody;
|
|
1286
|
-
if (!requestBody || isRef(requestBody)) {
|
|
1287
|
-
return false;
|
|
1288
|
-
}
|
|
1289
|
-
if (mediaType) {
|
|
1290
|
-
if (!(mediaType in requestBody.content)) {
|
|
1291
|
-
return false;
|
|
1292
|
-
}
|
|
1293
|
-
return requestBody.content[mediaType];
|
|
1294
|
-
}
|
|
1295
|
-
let availableMediaType;
|
|
1296
|
-
const mediaTypes = this.getRequestBodyMediaTypes();
|
|
1297
|
-
mediaTypes.forEach((mt) => {
|
|
1298
|
-
if (!availableMediaType && matches_mimetype_default.json(mt)) {
|
|
1299
|
-
availableMediaType = mt;
|
|
1300
|
-
}
|
|
1301
|
-
});
|
|
1302
|
-
if (!availableMediaType) {
|
|
1303
|
-
mediaTypes.forEach((mt) => {
|
|
1304
|
-
if (!availableMediaType) {
|
|
1305
|
-
availableMediaType = mt;
|
|
1306
|
-
}
|
|
1307
|
-
});
|
|
1308
|
-
}
|
|
1309
|
-
if (availableMediaType) {
|
|
1310
|
-
return [
|
|
1311
|
-
availableMediaType,
|
|
1312
|
-
requestBody.content[availableMediaType],
|
|
1313
|
-
...requestBody.description ? [requestBody.description] : []
|
|
1314
|
-
];
|
|
1315
|
-
}
|
|
1316
|
-
return false;
|
|
1317
|
-
}
|
|
1318
|
-
/**
|
|
1319
|
-
* Retrieve an array of request body examples that this operation has.
|
|
1320
|
-
*
|
|
1321
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#request-body-examples}
|
|
1322
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#request-body-examples}
|
|
1323
|
-
*/
|
|
1324
|
-
getRequestBodyExamples() {
|
|
1325
|
-
const isRequestExampleValueDefined = typeof this.requestBodyExamples?.[0]?.examples?.[0].value !== "undefined";
|
|
1326
|
-
if (this.requestBodyExamples && isRequestExampleValueDefined) {
|
|
1327
|
-
return this.requestBodyExamples;
|
|
1328
|
-
}
|
|
1329
|
-
this.requestBodyExamples = getRequestBodyExamples(this.schema);
|
|
1330
|
-
return this.requestBodyExamples;
|
|
1331
|
-
}
|
|
1332
|
-
/**
|
|
1333
|
-
* Return a specific response out of the operation by a given HTTP status code.
|
|
1334
|
-
*
|
|
1335
|
-
* @param statusCode Status code to pull a response object for.
|
|
1336
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#response-object}
|
|
1337
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#response-object}
|
|
1338
|
-
*/
|
|
1339
|
-
getResponseByStatusCode(statusCode) {
|
|
1340
|
-
if (!this.schema.responses) {
|
|
1341
|
-
return false;
|
|
1342
|
-
}
|
|
1343
|
-
const response = this.schema.responses[statusCode];
|
|
1344
|
-
if (!response || isRef(response)) {
|
|
1345
|
-
return false;
|
|
1346
|
-
}
|
|
1347
|
-
return response;
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
* Retrieve an array of response examples that this operation has.
|
|
1351
|
-
*
|
|
1352
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#response-object-examples}
|
|
1353
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#response-object-examples}
|
|
1354
|
-
*/
|
|
1355
|
-
getResponseExamples() {
|
|
1356
|
-
if (this.responseExamples) {
|
|
1357
|
-
return this.responseExamples;
|
|
1358
|
-
}
|
|
1359
|
-
this.responseExamples = getResponseExamples(this.schema);
|
|
1360
|
-
return this.responseExamples;
|
|
1361
|
-
}
|
|
1362
|
-
/**
|
|
1363
|
-
* Determine if the operation has callbacks.
|
|
1364
|
-
*
|
|
1365
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object}
|
|
1366
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object}
|
|
1367
|
-
*/
|
|
1368
|
-
hasCallbacks() {
|
|
1369
|
-
return Boolean(this.schema.callbacks);
|
|
1370
|
-
}
|
|
1371
|
-
/**
|
|
1372
|
-
* Retrieve a specific callback.
|
|
1373
|
-
*
|
|
1374
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object}
|
|
1375
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object}
|
|
1376
|
-
* @param identifier Callback identifier to look for.
|
|
1377
|
-
* @param expression Callback expression to look for.
|
|
1378
|
-
* @param method HTTP Method on the callback to look for.
|
|
1379
|
-
*/
|
|
1380
|
-
getCallback(identifier, expression, method) {
|
|
1381
|
-
if (!this.schema.callbacks) return false;
|
|
1382
|
-
const callbackObj = this.schema.callbacks[identifier];
|
|
1383
|
-
if (!callbackObj || isRef(callbackObj)) {
|
|
1384
|
-
return false;
|
|
1385
|
-
}
|
|
1386
|
-
const callback = callbackObj[expression];
|
|
1387
|
-
if (!callback || isRef(callback) || !callback[method]) {
|
|
1388
|
-
return false;
|
|
1389
|
-
}
|
|
1390
|
-
return new Callback(this.api, expression, method, callback[method], identifier, callback);
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* Retrieve an array of operations created from each callback.
|
|
1394
|
-
*
|
|
1395
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object}
|
|
1396
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object}
|
|
1397
|
-
*/
|
|
1398
|
-
getCallbacks() {
|
|
1399
|
-
if (!this.hasCallbacks()) return [];
|
|
1400
|
-
const callbacks = [];
|
|
1401
|
-
Object.keys(this.schema.callbacks || {}).forEach((callback) => {
|
|
1402
|
-
const cb = this.schema.callbacks?.[callback];
|
|
1403
|
-
if (!cb || isRef(cb)) {
|
|
1404
|
-
return;
|
|
1405
|
-
}
|
|
1406
|
-
Object.keys(cb).forEach((expression) => {
|
|
1407
|
-
const exp = cb[expression];
|
|
1408
|
-
if (!exp || isRef(exp)) {
|
|
1409
|
-
return;
|
|
1410
|
-
}
|
|
1411
|
-
Object.keys(exp).forEach((method) => {
|
|
1412
|
-
if (!supportedMethods.includes(method)) return;
|
|
1413
|
-
const found = this.getCallback(callback, expression, method);
|
|
1414
|
-
if (found) {
|
|
1415
|
-
callbacks.push(found);
|
|
1416
|
-
}
|
|
1417
|
-
});
|
|
1418
|
-
});
|
|
1419
|
-
});
|
|
1420
|
-
return callbacks;
|
|
1421
|
-
}
|
|
1422
|
-
/**
|
|
1423
|
-
* Retrieve an array of callback examples that this operation has.
|
|
1424
|
-
*
|
|
1425
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object}
|
|
1426
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object}
|
|
1427
|
-
*/
|
|
1428
|
-
getCallbackExamples() {
|
|
1429
|
-
if (this.callbackExamples) {
|
|
1430
|
-
return this.callbackExamples;
|
|
1431
|
-
}
|
|
1432
|
-
this.callbackExamples = getCallbackExamples(this.schema);
|
|
1433
|
-
return this.callbackExamples;
|
|
1434
|
-
}
|
|
1435
|
-
/**
|
|
1436
|
-
* Determine if a given a custom specification extension exists within the operation.
|
|
1437
|
-
*
|
|
1438
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#specification-extensions}
|
|
1439
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#specification-extensions}
|
|
1440
|
-
* @param extension Specification extension to lookup.
|
|
1441
|
-
*/
|
|
1442
|
-
hasExtension(extension) {
|
|
1443
|
-
return Boolean(this.schema && extension in this.schema);
|
|
1444
|
-
}
|
|
1445
|
-
/**
|
|
1446
|
-
* Retrieve a custom specification extension off of the operation.
|
|
1447
|
-
*
|
|
1448
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#specification-extensions}
|
|
1449
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#specification-extensions}
|
|
1450
|
-
* @param extension Specification extension to lookup.
|
|
1451
|
-
*
|
|
1452
|
-
* @deprecated Use `oas.getExtension(extension, operation)` instead.
|
|
1453
|
-
*/
|
|
1454
|
-
getExtension(extension) {
|
|
1455
|
-
return this.schema?.[extension];
|
|
1456
|
-
}
|
|
1457
|
-
/**
|
|
1458
|
-
* Returns an object with groups of all example definitions (body/header/query/path/response/etc.).
|
|
1459
|
-
* The examples are grouped by their key when defined via the `examples` map.
|
|
1460
|
-
*
|
|
1461
|
-
* Any custom code samples defined via the `x-readme.code-samples` extension are returned,
|
|
1462
|
-
* regardless of if they have a matching response example.
|
|
1463
|
-
*
|
|
1464
|
-
* For standard OAS request parameter (e.g., body/header/query/path/etc.) examples,
|
|
1465
|
-
* they are only present in the return object if they have a corresponding response example
|
|
1466
|
-
* (i.e., a response example with the same key in the `examples` map).
|
|
1467
|
-
*/
|
|
1468
|
-
getExampleGroups() {
|
|
1469
|
-
if (this.exampleGroups) return this.exampleGroups;
|
|
1470
|
-
const groups = getExampleGroups(this);
|
|
1471
|
-
this.exampleGroups = groups;
|
|
1472
|
-
return groups;
|
|
1473
|
-
}
|
|
1474
|
-
/**
|
|
1475
|
-
* Dereference the current operation schema so it can be parsed free of worries of `$ref` schemas
|
|
1476
|
-
* and circular structures.
|
|
1477
|
-
*
|
|
1478
|
-
*/
|
|
1479
|
-
async dereference(opts) {
|
|
1480
|
-
if (this.dereferencing.complete) {
|
|
1481
|
-
return Promise.resolve(true);
|
|
1482
|
-
}
|
|
1483
|
-
if (this.dereferencing.processing) {
|
|
1484
|
-
return new Promise((resolve, reject) => {
|
|
1485
|
-
this.promises.push({ resolve, reject });
|
|
1486
|
-
});
|
|
1487
|
-
}
|
|
1488
|
-
this.dereferencing.processing = true;
|
|
1489
|
-
const { children: discriminatorChildrenMap, inverted: discriminatorChildrenMapInverted } = findDiscriminatorChildren(this.api);
|
|
1490
|
-
const { api, schema, promises } = this;
|
|
1491
|
-
if (api?.components?.schemas && typeof api.components.schemas === "object") {
|
|
1492
|
-
Object.keys(api.components.schemas).forEach((schemaName) => {
|
|
1493
|
-
if (isPrimitive(api.components?.schemas?.[schemaName]) || Array.isArray(api.components?.schemas?.[schemaName]) || api.components?.schemas?.[schemaName] === null) {
|
|
1494
|
-
return;
|
|
1495
|
-
}
|
|
1496
|
-
(api.components?.schemas?.[schemaName])["x-readme-ref-name"] = schemaName;
|
|
1497
|
-
});
|
|
1498
|
-
}
|
|
1499
|
-
const circularRefs = /* @__PURE__ */ new Set();
|
|
1500
|
-
const dereferencingOptions = getDereferencingOptions(circularRefs);
|
|
1501
|
-
const parser = new $RefParser();
|
|
1502
|
-
return parser.dereference(
|
|
1503
|
-
"#/__INTERNAL__",
|
|
1504
|
-
{
|
|
1505
|
-
// Because `json-schema-ref-parser` will dereference this entire object as we only want
|
|
1506
|
-
// to dereference this operation schema we're attaching it to the `__INTERNAL__` key, and
|
|
1507
|
-
// later using that to extract our dereferenced schema. If we didn't do this then we run
|
|
1508
|
-
// the risk of any keyword in `schema` being overriden by `paths` and `components`.
|
|
1509
|
-
//
|
|
1510
|
-
// This solution isn't the best and still requires us to send `json-schema-ref-parser`
|
|
1511
|
-
// basically the entire API defintiion but because we don't know what `$ref` pointers in
|
|
1512
|
-
// `schema` reference, we can't know which parts of full API definition we could safely
|
|
1513
|
-
// exclude from this process.
|
|
1514
|
-
__INTERNAL__: structuredClone(schema),
|
|
1515
|
-
paths: api.paths ?? void 0,
|
|
1516
|
-
components: api.components ?? void 0
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
...dereferencingOptions,
|
|
1520
|
-
dereference: {
|
|
1521
|
-
...dereferencingOptions.dereference,
|
|
1522
|
-
/**
|
|
1523
|
-
* Because we only want to dereference our `__INTERNAL__` schema, not the **entire**
|
|
1524
|
-
* API definition if the parser attemps to dereference anything but that then we
|
|
1525
|
-
* should bail out of that crawler.
|
|
1526
|
-
*
|
|
1527
|
-
* @fixme this may cause issues where a path references a schema within itself to be ignored.
|
|
1528
|
-
*/
|
|
1529
|
-
excludedPathMatcher: (path) => {
|
|
1530
|
-
if (path === "#/paths" || path.startsWith("#/paths/")) {
|
|
1531
|
-
return true;
|
|
1532
|
-
}
|
|
1533
|
-
if (discriminatorChildrenMap.size > 0 || discriminatorChildrenMapInverted.size > 0) {
|
|
1534
|
-
if (path.startsWith("#/components/") && path !== "#/components/schemas" && !path.startsWith("#/components/schemas/")) {
|
|
1535
|
-
return true;
|
|
1536
|
-
}
|
|
1537
|
-
if (path.startsWith("#/components/schemas/")) {
|
|
1538
|
-
const schemaName = path.split("/").pop();
|
|
1539
|
-
if (schemaName && (discriminatorChildrenMap.has(schemaName) || discriminatorChildrenMapInverted.has(schemaName))) {
|
|
1540
|
-
if (path === `#/components/schemas/${schemaName}` || path.startsWith(`#/components/schemas/${schemaName}/`)) {
|
|
1541
|
-
return false;
|
|
1542
|
-
}
|
|
1543
|
-
return true;
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
return false;
|
|
1547
|
-
}
|
|
1548
|
-
return path === "#/components" || path.startsWith("#/components/");
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
}
|
|
1552
|
-
).then((res) => {
|
|
1553
|
-
const dereferenced = res;
|
|
1554
|
-
if (dereferenced?.components?.schemas && discriminatorChildrenMap.size > 0) {
|
|
1555
|
-
buildDiscriminatorOneOf({ components: dereferenced.components }, discriminatorChildrenMap);
|
|
1556
|
-
}
|
|
1557
|
-
this.schema = dereferenced.__INTERNAL__;
|
|
1558
|
-
this.promises = promises;
|
|
1559
|
-
this.dereferencing = {
|
|
1560
|
-
processing: false,
|
|
1561
|
-
complete: true,
|
|
1562
|
-
// We need to convert our `Set` to an array in order to match the typings.
|
|
1563
|
-
circularRefs: [...circularRefs]
|
|
1564
|
-
};
|
|
1565
|
-
if (opts?.cb) {
|
|
1566
|
-
opts.cb();
|
|
1567
|
-
}
|
|
1568
|
-
}).then(() => {
|
|
1569
|
-
return this.promises.map((deferred) => deferred.resolve());
|
|
1570
|
-
}).catch((err) => {
|
|
1571
|
-
this.dereferencing.processing = false;
|
|
1572
|
-
this.promises.map((deferred) => deferred.reject(err));
|
|
1573
|
-
throw err;
|
|
1574
|
-
});
|
|
1575
|
-
}
|
|
1576
|
-
/**
|
|
1577
|
-
* Retrieve any circular `$ref` pointers that maybe present within operation schema.
|
|
1578
|
-
*
|
|
1579
|
-
* This method requires that you first dereference the definition.
|
|
1580
|
-
*
|
|
1581
|
-
* @see Operation.dereference
|
|
1582
|
-
*/
|
|
1583
|
-
getCircularReferences() {
|
|
1584
|
-
if (!this.dereferencing.complete) {
|
|
1585
|
-
throw new Error(".dereference() must be called first in order for this method to obtain circular references.");
|
|
1586
|
-
}
|
|
1587
|
-
return this.dereferencing.circularRefs;
|
|
1588
|
-
}
|
|
1589
|
-
};
|
|
1590
|
-
var Callback = class extends Operation {
|
|
1591
|
-
/**
|
|
1592
|
-
* The identifier that this callback is set to.
|
|
1593
|
-
*/
|
|
1594
|
-
identifier;
|
|
1595
|
-
/**
|
|
1596
|
-
* The parent path item object that this Callback exists within.
|
|
1597
|
-
*/
|
|
1598
|
-
parentSchema;
|
|
1599
|
-
constructor(oas, path, method, operation, identifier, parentPathItem) {
|
|
1600
|
-
super(oas, path, method, operation);
|
|
1601
|
-
this.identifier = identifier;
|
|
1602
|
-
this.parentSchema = parentPathItem;
|
|
1603
|
-
}
|
|
1604
|
-
/**
|
|
1605
|
-
* Return the primary identifier for this callback.
|
|
1606
|
-
*
|
|
1607
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object}
|
|
1608
|
-
* @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#callback-object}
|
|
1609
|
-
*/
|
|
1610
|
-
getIdentifier() {
|
|
1611
|
-
return this.identifier;
|
|
1612
|
-
}
|
|
1613
|
-
getSummary() {
|
|
1614
|
-
if (this.schema?.summary && typeof this.schema.summary === "string") {
|
|
1615
|
-
return this.schema.summary;
|
|
1616
|
-
} else if (this.parentSchema.summary && typeof this.parentSchema.summary === "string") {
|
|
1617
|
-
return this.parentSchema.summary;
|
|
1618
|
-
}
|
|
1619
|
-
return void 0;
|
|
1620
|
-
}
|
|
1621
|
-
getDescription() {
|
|
1622
|
-
if (this.schema?.description && typeof this.schema.description === "string") {
|
|
1623
|
-
return this.schema.description;
|
|
1624
|
-
} else if (this.parentSchema.description && typeof this.parentSchema.description === "string") {
|
|
1625
|
-
return this.parentSchema.description;
|
|
1626
|
-
}
|
|
1627
|
-
return void 0;
|
|
1628
|
-
}
|
|
1629
|
-
getParameters() {
|
|
1630
|
-
let parameters = this.schema?.parameters || [];
|
|
1631
|
-
const commonParams = this.parentSchema.parameters || [];
|
|
1632
|
-
if (commonParams.length) {
|
|
1633
|
-
parameters = parameters.concat(dedupeCommonParameters(parameters, commonParams) || []);
|
|
1634
|
-
}
|
|
1635
|
-
return parameters;
|
|
1636
|
-
}
|
|
1637
|
-
};
|
|
1638
|
-
var Webhook = class extends Operation {
|
|
1639
|
-
getSummary() {
|
|
1640
|
-
if (this.schema?.summary && typeof this.schema.summary === "string") {
|
|
1641
|
-
return this.schema.summary;
|
|
1642
|
-
}
|
|
1643
|
-
const webhookPath = this.api.webhooks?.[this.path];
|
|
1644
|
-
if (webhookPath && !isRef(webhookPath)) {
|
|
1645
|
-
if (webhookPath?.summary && typeof webhookPath.summary === "string") {
|
|
1646
|
-
return webhookPath.summary;
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
|
-
return void 0;
|
|
1650
|
-
}
|
|
1651
|
-
getDescription() {
|
|
1652
|
-
if (this.schema?.description && typeof this.schema.description === "string") {
|
|
1653
|
-
return this.schema.description;
|
|
1654
|
-
}
|
|
1655
|
-
const webhookPath = this.api.webhooks?.[this.path];
|
|
1656
|
-
if (webhookPath && !isRef(webhookPath)) {
|
|
1657
|
-
if (webhookPath?.description && typeof webhookPath.description === "string") {
|
|
1658
|
-
return webhookPath.description;
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
return void 0;
|
|
1662
|
-
}
|
|
1663
|
-
};
|
|
1664
|
-
|
|
1665
|
-
export {
|
|
1666
|
-
findDiscriminatorChildren,
|
|
1667
|
-
buildDiscriminatorOneOf,
|
|
1668
|
-
Operation,
|
|
1669
|
-
Callback,
|
|
1670
|
-
Webhook
|
|
1671
|
-
};
|
|
1672
|
-
/**
|
|
1673
|
-
* Portions of this file have been extracted and modified from Swagger UI.
|
|
1674
|
-
*
|
|
1675
|
-
* @license Apache-2.0
|
|
1676
|
-
* @see {@link https://github.com/swagger-api/swagger-ui/blob/master/src/core/utils.js}
|
|
1677
|
-
*/
|
|
1678
|
-
/**
|
|
1679
|
-
* This file has been extracted and modified from Swagger UI.
|
|
1680
|
-
*
|
|
1681
|
-
* @license Apache-2.0
|
|
1682
|
-
* @see {@link https://github.com/swagger-api/swagger-ui/blob/master/src/core/plugins/samples/fn.js}
|
|
1683
|
-
*/
|
|
1684
|
-
//# sourceMappingURL=chunk-HGVFNEKW.js.map
|