@kubb/agent 4.33.2 → 4.33.4
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 +13 -7
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/node_modules/@babel/runtime/package.json +1 -1
- package/.output/server/node_modules/@readme/openapi-parser/package.json +3 -3
- package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +53 -0
- package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +2 -0
- package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +2 -1
- package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +7 -4
- package/.output/server/node_modules/@redocly/config/package.json +2 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +54 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +54 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +1 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +1 -1
- package/.output/server/node_modules/@redocly/openapi-core/package.json +2 -2
- package/.output/server/node_modules/ajv/.runkit_example.js +23 -0
- package/.output/server/node_modules/ajv/LICENSE +22 -0
- package/.output/server/node_modules/ajv/README.md +207 -0
- package/.output/server/node_modules/ajv/dist/2019.d.ts +19 -0
- package/.output/server/node_modules/ajv/dist/2019.js +61 -0
- package/.output/server/node_modules/ajv/dist/2019.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/2020.d.ts +19 -0
- package/.output/server/node_modules/ajv/dist/2020.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/.output/server/node_modules/ajv/dist/ajv.js +50 -0
- package/.output/server/node_modules/ajv/dist/ajv.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/.output/server/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/.output/server/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/.output/server/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/.output/server/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/.output/server/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/.output/server/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/.output/server/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/core.d.ts +173 -0
- package/.output/server/node_modules/ajv/dist/core.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/.output/server/node_modules/ajv/dist/jtd.js +72 -0
- package/.output/server/node_modules/ajv/dist/jtd.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/.output/server/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/.output/server/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/.output/server/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/.output/server/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/.output/server/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/.output/server/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/.output/server/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/.output/server/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/standalone/index.js +90 -0
- package/.output/server/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/.output/server/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/.output/server/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/.output/server/node_modules/ajv/dist/types/index.js +3 -0
- package/.output/server/node_modules/ajv/dist/types/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/.output/server/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/.output/server/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/.output/server/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/.output/server/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/.output/server/node_modules/ajv/lib/2019.ts +81 -0
- package/.output/server/node_modules/ajv/lib/2020.ts +75 -0
- package/.output/server/node_modules/ajv/lib/ajv.ts +70 -0
- package/.output/server/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/.output/server/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/.output/server/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/.output/server/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/.output/server/node_modules/ajv/lib/compile/index.ts +324 -0
- package/.output/server/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/.output/server/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
- package/.output/server/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/.output/server/node_modules/ajv/lib/compile/names.ts +27 -0
- package/.output/server/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/.output/server/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/.output/server/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/.output/server/node_modules/ajv/lib/compile/util.ts +213 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/.output/server/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/.output/server/node_modules/ajv/lib/core.ts +891 -0
- package/.output/server/node_modules/ajv/lib/jtd.ts +132 -0
- package/.output/server/node_modules/ajv/lib/refs/data.json +13 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/.output/server/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/.output/server/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/.output/server/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/.output/server/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/.output/server/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/.output/server/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/.output/server/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/.output/server/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/.output/server/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/.output/server/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/.output/server/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/.output/server/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/.output/server/node_modules/ajv/lib/types/index.ts +244 -0
- package/.output/server/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/.output/server/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/.output/server/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/.output/server/node_modules/ajv/package.json +1 -1
- package/.output/server/node_modules/oas/dist/{chunk-SH63AK3O.js → chunk-5EP6HY2E.js} +159 -70
- package/.output/server/node_modules/oas/dist/{chunk-L3V5TF63.js → chunk-7MARUOFZ.js} +1 -9
- package/.output/server/node_modules/oas/dist/{chunk-BOVZLW7Q.js → chunk-HGVFNEKW.js} +517 -126
- package/.output/server/node_modules/oas/dist/{chunk-JMLIY2LK.js → chunk-LSH3X5NA.js} +124 -191
- package/.output/server/node_modules/oas/dist/{chunk-TTCGKV5E.js → chunk-S27IGTVG.js} +4 -1
- package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +9 -0
- package/.output/server/node_modules/oas/dist/index.js +6 -6
- package/.output/server/node_modules/oas/dist/types.js +1 -5
- package/.output/server/node_modules/oas/dist/utils.js +6 -6
- package/.output/server/node_modules/oas/package.json +8 -6
- package/.output/server/node_modules/oas-normalize/package.json +5 -5
- package/.output/server/package.json +7 -7
- package/package.json +16 -16
- package/.output/server/node_modules/oas/dist/chunk-LV26LN7C.js +0 -27
package/.output/nitro.json
CHANGED
|
@@ -4648,7 +4648,7 @@ async function disconnect({ sessionId, token, studioUrl }) {
|
|
|
4648
4648
|
}
|
|
4649
4649
|
}
|
|
4650
4650
|
|
|
4651
|
-
var version = "4.33.
|
|
4651
|
+
var version = "4.33.4";
|
|
4652
4652
|
|
|
4653
4653
|
function isCommandMessage(msg) {
|
|
4654
4654
|
return msg.type === "command";
|
|
@@ -5662,7 +5662,7 @@ executeSync_fn = function({ strategy, hookName, parameters, plugin }) {
|
|
|
5662
5662
|
key: [plugin.name, usedPluginNames[plugin.name]].filter(Boolean)
|
|
5663
5663
|
};
|
|
5664
5664
|
}, _e);
|
|
5665
|
-
var version$1 = "4.33.
|
|
5665
|
+
var version$1 = "4.33.4";
|
|
5666
5666
|
function getDiagnosticInfo() {
|
|
5667
5667
|
return {
|
|
5668
5668
|
nodeVersion: version$2,
|
|
@@ -11256,14 +11256,20 @@ var Oas = (_b$1 = class extends BaseOas {
|
|
|
11256
11256
|
return this.dereferenceWithRef(schema);
|
|
11257
11257
|
}
|
|
11258
11258
|
getParametersSchema(operation, inKey) {
|
|
11259
|
+
var _a2, _b2, _c;
|
|
11259
11260
|
const { contentType = operation.getContentType() } = __privateGet$b(this, _options2);
|
|
11260
|
-
const
|
|
11261
|
-
|
|
11262
|
-
|
|
11261
|
+
const resolveParams = (params2) => params2.map((p) => this.dereferenceWithRef(p)).filter((p) => !!p && typeof p === "object" && "in" in p && "name" in p);
|
|
11262
|
+
const operationParams = resolveParams(((_a2 = operation.schema) == null ? void 0 : _a2.parameters) || []);
|
|
11263
|
+
const pathItem = (_c = (_b2 = this.api) == null ? void 0 : _b2.paths) == null ? void 0 : _c[operation.path];
|
|
11264
|
+
const pathLevelParams = resolveParams(pathItem && !isReference(pathItem) && pathItem.parameters ? pathItem.parameters : []);
|
|
11265
|
+
const paramMap = /* @__PURE__ */ new Map();
|
|
11266
|
+
for (const p of pathLevelParams) if (p.name && p.in) paramMap.set(`${p.in}:${p.name}`, p);
|
|
11267
|
+
for (const p of operationParams) if (p.name && p.in) paramMap.set(`${p.in}:${p.name}`, p);
|
|
11268
|
+
const params = Array.from(paramMap.values()).filter((v) => v.in === inKey);
|
|
11263
11269
|
if (!params.length) return null;
|
|
11264
11270
|
return params.reduce((schema, pathParameters) => {
|
|
11265
|
-
var
|
|
11266
|
-
const property = (
|
|
11271
|
+
var _a3, _b3, _c2;
|
|
11272
|
+
const property = (_c2 = (_b3 = (_a3 = pathParameters.content) == null ? void 0 : _a3[contentType]) == null ? void 0 : _b3.schema) != null ? _c2 : pathParameters.schema;
|
|
11267
11273
|
const required = typeof schema.required === "boolean" ? schema.required : [...schema.required || [], pathParameters.required ? pathParameters.name : void 0].filter(Boolean);
|
|
11268
11274
|
const getDefaultStyle = (location) => {
|
|
11269
11275
|
if (location === "query") return "form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Pw3tLCiV.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/chunk-OuPHjz6n.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-C0-TOJVO.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-CCn9g9eF.js","../../../../../plugin-oas/dist/generators-DRPPf38p.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-eECfXVou.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-NEa1bRXI.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-BXLIMAnz.js","../../../../../plugin-zod/dist/generators-D1R6NNf2.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BEBJMOJC.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BK_6GU4v.js","../../../../../plugin-cypress/dist/generators-D5YFtyyC.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-BztogaeO.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-KWLMg0Lm.js","../../../../../plugin-mcp/dist/generators-80MDR6tQ.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-DgtTZkWX.js","../../../../../plugin-msw/dist/generators-C34kqa1L.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpyHYGOw.js","../../../../../plugin-react-query/dist/generators-CpiBv5eE.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-BhStIi1M.js","../../../../../plugin-solid-query/dist/generators-CQClzsST.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-DntKBsnB.js","../../../../../plugin-svelte-query/dist/generators-BtTsGGrM.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-DRDGvgXG.js","../../../../../plugin-swr/dist/generators-ClWZJ-YG.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-_AMBl0g-.js","../../../../../plugin-vue-query/dist/generators-Zb1s5Wmb.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.8/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","path","readFile","writeFile","isValidVarName","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","x","performance","version","_c","_d","_e","build","os","item","trimExtName","error","__defProp","__name","pascalCase","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","parse","loadConfig","schema","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","params","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,55,108,109,110,111]}
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Pw3tLCiV.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/chunk-OuPHjz6n.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-C0-TOJVO.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-CCn9g9eF.js","../../../../../plugin-oas/dist/generators-DRPPf38p.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-eECfXVou.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-NEa1bRXI.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-BXLIMAnz.js","../../../../../plugin-zod/dist/generators-D1R6NNf2.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BEBJMOJC.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BK_6GU4v.js","../../../../../plugin-cypress/dist/generators-D5YFtyyC.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-BztogaeO.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-KWLMg0Lm.js","../../../../../plugin-mcp/dist/generators-80MDR6tQ.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-DgtTZkWX.js","../../../../../plugin-msw/dist/generators-C34kqa1L.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpyHYGOw.js","../../../../../plugin-react-query/dist/generators-CpiBv5eE.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-BhStIi1M.js","../../../../../plugin-solid-query/dist/generators-CQClzsST.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-DntKBsnB.js","../../../../../plugin-svelte-query/dist/generators-BtTsGGrM.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-DRDGvgXG.js","../../../../../plugin-swr/dist/generators-ClWZJ-YG.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-_AMBl0g-.js","../../../../../plugin-vue-query/dist/generators-Zb1s5Wmb.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","path","readFile","writeFile","isValidVarName","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","x","performance","version","_c","_d","_e","build","os","item","trimExtName","error","__defProp","__name","pascalCase","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,55,108,109,110,111]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readme/openapi-parser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Swagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ReadMe <support@readme.io> (https://readme.com)",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"openapi-types": ">=7"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@types/node": "^
|
|
75
|
+
"@types/node": "^25.3.0",
|
|
76
76
|
"@vitest/expect": "^4.0.6",
|
|
77
77
|
"openapi-types": "^12.1.3",
|
|
78
78
|
"tsup": "^8.5.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"vitest": "^4.0.8"
|
|
81
81
|
},
|
|
82
82
|
"prettier": "@readme/standards/prettier",
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "dfe34981c108d3f2157000c001320ce110cfc4cc"
|
|
84
84
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.asyncapiConfigSchema = void 0;
|
|
4
|
+
const feedback_config_schema_1 = require("./feedback-config-schema");
|
|
5
|
+
const redoc_config_schema_1 = require("./redoc-config-schema");
|
|
6
|
+
exports.asyncapiConfigSchema = {
|
|
7
|
+
type: 'object',
|
|
8
|
+
properties: {
|
|
9
|
+
downloadUrls: redoc_config_schema_1.downloadUrlsSchema,
|
|
10
|
+
apiLogo: {
|
|
11
|
+
type: 'object',
|
|
12
|
+
properties: {
|
|
13
|
+
imageUrl: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
href: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
},
|
|
19
|
+
altText: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
backgroundColor: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
jsonSamplesDepth: {
|
|
28
|
+
type: 'number',
|
|
29
|
+
},
|
|
30
|
+
samplesMaxInlineArgs: {
|
|
31
|
+
type: 'number',
|
|
32
|
+
},
|
|
33
|
+
fieldExpandLevel: {
|
|
34
|
+
type: 'number',
|
|
35
|
+
},
|
|
36
|
+
baseUrlPath: {
|
|
37
|
+
type: 'string',
|
|
38
|
+
},
|
|
39
|
+
metadata: {
|
|
40
|
+
type: 'object',
|
|
41
|
+
properties: {
|
|
42
|
+
apiId: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
additionalProperties: true,
|
|
47
|
+
},
|
|
48
|
+
feedback: feedback_config_schema_1.feedbackConfigSchema,
|
|
49
|
+
layout: { type: 'string', enum: ['stacked', 'three-panel'] },
|
|
50
|
+
},
|
|
51
|
+
additionalProperties: false,
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=asyncapi-config-schema.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.themeConfigSchema = void 0;
|
|
4
4
|
const graphql_config_schema_1 = require("./graphql-config-schema");
|
|
5
|
+
const asyncapi_config_schema_1 = require("./asyncapi-config-schema");
|
|
5
6
|
const feedback_config_schema_1 = require("./feedback-config-schema");
|
|
6
7
|
const ex_theme_config_schemas_1 = require("./ex-theme-config-schemas");
|
|
7
8
|
const entities_catalog_config_schema_1 = require("./entities-catalog-config-schema");
|
|
@@ -31,6 +32,7 @@ exports.themeConfigSchema = {
|
|
|
31
32
|
codeSnippet: ex_theme_config_schemas_1.codeSnippetConfigSchema,
|
|
32
33
|
markdown: ex_theme_config_schemas_1.markdownConfigSchema,
|
|
33
34
|
openapi: ex_theme_config_schemas_1.openapiConfigSchema,
|
|
35
|
+
asyncapi: asyncapi_config_schema_1.asyncapiConfigSchema,
|
|
34
36
|
graphql: graphql_config_schema_1.graphqlConfigSchema,
|
|
35
37
|
analytics: ex_theme_config_schemas_1.analyticsConfigSchema,
|
|
36
38
|
userMenu: ex_theme_config_schemas_1.userMenuConfigSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
|
|
3
|
+
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.asyncapiConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
|
|
4
4
|
const redoc_config_schema_1 = require("./redoc-config-schema");
|
|
5
5
|
const reference_docs_config_schema_1 = require("./reference-docs-config-schema");
|
|
6
6
|
const common_1 = require("./common");
|
|
@@ -377,6 +377,7 @@ exports.markdownConfigSchema = {
|
|
|
377
377
|
default: {},
|
|
378
378
|
};
|
|
379
379
|
exports.openapiConfigSchema = Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema), { properties: Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema.properties), reference_docs_config_schema_1.deprecatedRefDocsSchema.properties) });
|
|
380
|
+
exports.asyncapiConfigSchema = Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema), { properties: Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema.properties), reference_docs_config_schema_1.deprecatedRefDocsSchema.properties) });
|
|
380
381
|
const adobeAnalyticsConfigSchema = {
|
|
381
382
|
type: 'object',
|
|
382
383
|
properties: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.removePropertyRecursively = removePropertyRecursively;
|
|
4
|
-
function removePropertyRecursively(object, propToRemove) {
|
|
4
|
+
function removePropertyRecursively(object, propToRemove, parentKey) {
|
|
5
5
|
return Object.fromEntries(Object.entries(object)
|
|
6
6
|
.map(([key, value]) => {
|
|
7
|
-
if (key === propToRemove) {
|
|
7
|
+
if (key === propToRemove && parentKey !== 'properties') {
|
|
8
8
|
return undefined;
|
|
9
9
|
}
|
|
10
10
|
if (typeof value !== 'object' || !value) {
|
|
@@ -14,11 +14,14 @@ function removePropertyRecursively(object, propToRemove) {
|
|
|
14
14
|
return [
|
|
15
15
|
key,
|
|
16
16
|
value.map((arrayItem) => typeof arrayItem === 'object'
|
|
17
|
-
? removePropertyRecursively(arrayItem, propToRemove)
|
|
17
|
+
? removePropertyRecursively(arrayItem, propToRemove, key)
|
|
18
18
|
: arrayItem),
|
|
19
19
|
];
|
|
20
20
|
}
|
|
21
|
-
return [
|
|
21
|
+
return [
|
|
22
|
+
key,
|
|
23
|
+
removePropertyRecursively(value, propToRemove, key),
|
|
24
|
+
];
|
|
22
25
|
})
|
|
23
26
|
.filter(Boolean));
|
|
24
27
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/config",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@markdoc/markdoc": "0.5.2",
|
|
10
|
-
"@redocly/openapi-core": "2.
|
|
10
|
+
"@redocly/openapi-core": "2.20.4",
|
|
11
11
|
"@types/node": "22.18.13",
|
|
12
12
|
"@types/react": "^19.2.7",
|
|
13
13
|
"@vitest/coverage-v8": "4.0.10",
|
package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js
CHANGED
|
@@ -1,7 +1,60 @@
|
|
|
1
|
+
import { isRef } from '../../../ref-utils.js';
|
|
2
|
+
import { isPlainObject } from '../../../utils/is-plain-object.js';
|
|
1
3
|
import { checkIfMatchByStrategy, filter } from './filter-helper.js';
|
|
2
4
|
const DEFAULT_STRATEGY = 'any';
|
|
3
|
-
export const FilterIn = ({ property, value, matchStrategy }) => {
|
|
5
|
+
export const FilterIn = ({ property, value, matchStrategy, applyTo: target, }) => {
|
|
4
6
|
const strategy = matchStrategy || DEFAULT_STRATEGY;
|
|
7
|
+
if (target !== undefined) {
|
|
8
|
+
if (target === 'Operation') {
|
|
9
|
+
const httpMethods = [
|
|
10
|
+
'get',
|
|
11
|
+
'post',
|
|
12
|
+
'put',
|
|
13
|
+
'delete',
|
|
14
|
+
'patch',
|
|
15
|
+
'options',
|
|
16
|
+
'head',
|
|
17
|
+
'trace',
|
|
18
|
+
'query',
|
|
19
|
+
];
|
|
20
|
+
return {
|
|
21
|
+
PathItem: {
|
|
22
|
+
enter(pathItem, ctx) {
|
|
23
|
+
for (const method of httpMethods) {
|
|
24
|
+
const operation = isRef(pathItem[method])
|
|
25
|
+
? ctx.resolve(pathItem[method]).node
|
|
26
|
+
: pathItem[method];
|
|
27
|
+
if (isPlainObject(operation)) {
|
|
28
|
+
const propertyValue = operation[property];
|
|
29
|
+
const shouldKeep = checkIfMatchByStrategy(propertyValue, value, strategy);
|
|
30
|
+
if (!shouldKeep) {
|
|
31
|
+
delete pathItem[method];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const hasOperations = httpMethods.some((method) => pathItem[method]) || pathItem.additionalOperations;
|
|
36
|
+
if (!hasOperations) {
|
|
37
|
+
delete ctx.parent[ctx.key];
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
if (target === 'PathItem') {
|
|
44
|
+
return {
|
|
45
|
+
PathItem: {
|
|
46
|
+
enter(pathItem, ctx) {
|
|
47
|
+
const propertyValue = pathItem[property];
|
|
48
|
+
const shouldKeep = checkIfMatchByStrategy(propertyValue, value, strategy);
|
|
49
|
+
if (!shouldKeep) {
|
|
50
|
+
delete ctx.parent[ctx.key];
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
throw new Error(`The 'target' option must be 'Operation' or 'PathItem' when provided.`);
|
|
57
|
+
}
|
|
5
58
|
const filterInCriteria = (item) => item?.[property] && !checkIfMatchByStrategy(item?.[property], value, strategy);
|
|
6
59
|
return {
|
|
7
60
|
any: {
|
|
@@ -1,7 +1,60 @@
|
|
|
1
|
+
import { isRef } from '../../../ref-utils.js';
|
|
2
|
+
import { isPlainObject } from '../../../utils/is-plain-object.js';
|
|
1
3
|
import { checkIfMatchByStrategy, filter } from './filter-helper.js';
|
|
2
4
|
const DEFAULT_STRATEGY = 'any';
|
|
3
|
-
export const FilterOut = ({ property, value, matchStrategy }) => {
|
|
5
|
+
export const FilterOut = ({ property, value, matchStrategy, applyTo: target, }) => {
|
|
4
6
|
const strategy = matchStrategy || DEFAULT_STRATEGY;
|
|
7
|
+
if (target !== undefined) {
|
|
8
|
+
if (target === 'Operation') {
|
|
9
|
+
const httpMethods = [
|
|
10
|
+
'get',
|
|
11
|
+
'post',
|
|
12
|
+
'put',
|
|
13
|
+
'delete',
|
|
14
|
+
'patch',
|
|
15
|
+
'options',
|
|
16
|
+
'head',
|
|
17
|
+
'trace',
|
|
18
|
+
'query',
|
|
19
|
+
];
|
|
20
|
+
return {
|
|
21
|
+
PathItem: {
|
|
22
|
+
enter(pathItem, ctx) {
|
|
23
|
+
for (const method of httpMethods) {
|
|
24
|
+
const operation = isRef(pathItem[method])
|
|
25
|
+
? ctx.resolve(pathItem[method]).node
|
|
26
|
+
: pathItem[method];
|
|
27
|
+
if (isPlainObject(operation)) {
|
|
28
|
+
const propertyValue = operation[property];
|
|
29
|
+
const shouldRemove = checkIfMatchByStrategy(propertyValue, value, strategy);
|
|
30
|
+
if (shouldRemove) {
|
|
31
|
+
delete pathItem[method];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const hasOperations = httpMethods.some((method) => pathItem[method]) || pathItem.additionalOperations;
|
|
36
|
+
if (!hasOperations) {
|
|
37
|
+
delete ctx.parent[ctx.key];
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
if (target === 'PathItem') {
|
|
44
|
+
return {
|
|
45
|
+
PathItem: {
|
|
46
|
+
enter(pathItem, ctx) {
|
|
47
|
+
const propertyValue = pathItem[property];
|
|
48
|
+
const shouldRemove = checkIfMatchByStrategy(propertyValue, value, strategy);
|
|
49
|
+
if (shouldRemove) {
|
|
50
|
+
delete ctx.parent[ctx.key];
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
throw new Error(`The 'target' option must be 'Operation' or 'PathItem' when provided.`);
|
|
57
|
+
}
|
|
5
58
|
const filterOutCriteria = (item) => checkIfMatchByStrategy(item?.[property], value, strategy);
|
|
6
59
|
return {
|
|
7
60
|
any: {
|
|
@@ -12,8 +12,8 @@ export const decorators = {
|
|
|
12
12
|
'info-description-override': InfoDescriptionOverride,
|
|
13
13
|
'info-override': InfoOverride,
|
|
14
14
|
'remove-x-internal': RemoveXInternal,
|
|
15
|
-
'remove-unused-components': RemoveUnusedComponents,
|
|
16
15
|
'filter-in': FilterIn,
|
|
17
16
|
'filter-out': FilterOut,
|
|
17
|
+
'remove-unused-components': RemoveUnusedComponents, // always the last one
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -13,9 +13,9 @@ export const decorators = {
|
|
|
13
13
|
'info-description-override': InfoDescriptionOverride,
|
|
14
14
|
'info-override': InfoOverride,
|
|
15
15
|
'remove-x-internal': RemoveXInternal,
|
|
16
|
-
'remove-unused-components': RemoveUnusedComponents,
|
|
17
16
|
'filter-in': FilterIn,
|
|
18
17
|
'filter-out': FilterOut,
|
|
19
18
|
'media-type-examples-override': MediaTypeExamplesOverride,
|
|
19
|
+
'remove-unused-components': RemoveUnusedComponents, // always the last one
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/openapi-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@redocly/ajv": "^8.18.0",
|
|
56
|
-
"@redocly/config": "^0.44.
|
|
56
|
+
"@redocly/config": "^0.44.1",
|
|
57
57
|
"ajv": "npm:@redocly/ajv@8.18.0",
|
|
58
58
|
"ajv-formats": "^3.0.1",
|
|
59
59
|
"colorette": "^1.2.0",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const Ajv = require("ajv")
|
|
2
|
+
const ajv = new Ajv({allErrors: true})
|
|
3
|
+
|
|
4
|
+
const schema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
foo: {type: "string"},
|
|
8
|
+
bar: {type: "number", maximum: 3},
|
|
9
|
+
},
|
|
10
|
+
required: ["foo", "bar"],
|
|
11
|
+
additionalProperties: false,
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const validate = ajv.compile(schema)
|
|
15
|
+
|
|
16
|
+
test({foo: "abc", bar: 2})
|
|
17
|
+
test({foo: 2, bar: 4})
|
|
18
|
+
|
|
19
|
+
function test(data) {
|
|
20
|
+
const valid = validate(data)
|
|
21
|
+
if (valid) console.log("Valid!")
|
|
22
|
+
else console.log("Invalid: " + ajv.errorsText(validate.errors))
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|