@kubb/agent 4.27.2 → 4.27.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 +64 -62
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +5 -5
- package/.output/server/index.mjs +5 -5
- package/.output/server/package.json +1 -10
- package/LICENSE +21 -0
- package/package.json +17 -17
- package/.output/server/node_modules/@redocly/ajv/dist/2020.js +0 -55
- package/.output/server/node_modules/@redocly/ajv/dist/ajv.js +0 -50
- package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/@redocly/ajv/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/@redocly/ajv/dist/compile/index.js +0 -249
- package/.output/server/node_modules/@redocly/ajv/dist/compile/names.js +0 -29
- package/.output/server/node_modules/@redocly/ajv/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/@redocly/ajv/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/@redocly/ajv/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/@redocly/ajv/dist/compile/util.js +0 -178
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/@redocly/ajv/dist/core.js +0 -632
- package/.output/server/node_modules/@redocly/ajv/dist/draft4.js +0 -56
- package/.output/server/node_modules/@redocly/ajv/dist/refs/data.json +0 -13
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft2020.js +0 -23
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft4.js +0 -29
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft7.js +0 -17
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/next.js +0 -8
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -84
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumber.js +0 -43
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/pattern.js +0 -24
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/@redocly/ajv/package.json +0 -130
- package/.output/server/node_modules/@redocly/config/lib/common.js +0 -90
- package/.output/server/node_modules/@redocly/config/lib/constants.js +0 -73
- package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -54
- 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 -661
- 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 -38
- package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -43
- 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 -25
- 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 -551
- package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -244
- 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 -85
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -257
- 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 -310
- 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 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -335
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -338
- 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 -289
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -289
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -289
- 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 -289
- 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 -88
- 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 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -14
- 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 -88
- 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 -116
- 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 -49
- 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 -106
- 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 -52
- 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 -32
- 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 -32
- 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 -269
- 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 -31
- 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-path-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -78
- 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 -125
- 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 -129
- 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 -32
- 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 -74
- 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 -172
- 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 -174
- 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 -306
- 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 -555
- 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 -303
- package/.output/server/node_modules/@redocly/openapi-core/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/colorette/index.js +0 -82
- package/.output/server/node_modules/colorette/package.json +0 -39
- 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/picomatch/index.js +0 -17
- package/.output/server/node_modules/picomatch/lib/constants.js +0 -180
- package/.output/server/node_modules/picomatch/lib/parse.js +0 -1085
- package/.output/server/node_modules/picomatch/lib/picomatch.js +0 -341
- package/.output/server/node_modules/picomatch/lib/scan.js +0 -391
- package/.output/server/node_modules/picomatch/lib/utils.js +0 -72
- package/.output/server/node_modules/picomatch/package.json +0 -83
- 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/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/nitro.json
CHANGED
|
@@ -8,11 +8,9 @@ import nodeCrypto, { createHash } from 'node:crypto';
|
|
|
8
8
|
import process$1, { version as version$2 } from 'node:process';
|
|
9
9
|
import { orderBy } from 'natural-orderby';
|
|
10
10
|
import { merge as merge$1, mergeDeep, isPlainObject as isPlainObject$1, uniqueWith, isDeepEqual, isNumber, isFunction, difference } from 'remeda';
|
|
11
|
-
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
12
11
|
import { execaCommand, execa } from 'execa';
|
|
13
|
-
import createJiti, { createJiti as createJiti$1 } from 'jiti';
|
|
14
|
-
import pc from 'picocolors';
|
|
15
12
|
import os$1 from 'node:os';
|
|
13
|
+
import pc from 'picocolors';
|
|
16
14
|
import fs$1 from 'fs-extra';
|
|
17
15
|
import { switcher } from 'js-runtime';
|
|
18
16
|
import { performance as performance$1 } from 'node:perf_hooks';
|
|
@@ -20,12 +18,14 @@ import mod, { createRequire } from 'node:module';
|
|
|
20
18
|
import { createFabric, createReactFabric, App, File, Function as Function$1, Const, FunctionParams, Type as Type$1, useApp } from '@kubb/react-fabric';
|
|
21
19
|
import { typescriptParser } from '@kubb/react-fabric/parsers';
|
|
22
20
|
import { fsPlugin } from '@kubb/react-fabric/plugins';
|
|
21
|
+
import { pathToFileURL, fileURLToPath } from 'node:url';
|
|
23
22
|
import { coerce, satisfies } from 'semver';
|
|
24
23
|
import { parseArgsStringToArgv } from 'string-argv';
|
|
25
|
-
import {
|
|
24
|
+
import { createJiti } from 'jiti';
|
|
26
25
|
import jsonpointer from 'jsonpointer';
|
|
27
26
|
import BaseOas from 'oas';
|
|
28
|
-
import {
|
|
27
|
+
import { matchesMimeType } from 'oas/utils';
|
|
28
|
+
import { bundle } from '@readme/openapi-parser';
|
|
29
29
|
import { isRef } from 'oas/types';
|
|
30
30
|
import OASNormalize from 'oas-normalize';
|
|
31
31
|
import swagger2openapi from 'swagger2openapi';
|
|
@@ -5875,16 +5875,6 @@ async function detectLinter() {
|
|
|
5875
5875
|
"eslint"
|
|
5876
5876
|
]) if (await isLinterAvailable(linter)) return linter;
|
|
5877
5877
|
}
|
|
5878
|
-
function resolveModuleSource(pkgName) {
|
|
5879
|
-
const parentURL = globalThis._importMeta_.url;
|
|
5880
|
-
const resolved = createJiti(parentURL).esmResolve(pkgName, parentURL);
|
|
5881
|
-
const filePath = resolved.startsWith("file:") ? fileURLToPath(resolved) : resolved;
|
|
5882
|
-
return {
|
|
5883
|
-
path: filePath,
|
|
5884
|
-
source: readFileSync(filePath, { encoding: "utf-8" }),
|
|
5885
|
-
ext: path$2.extname(filePath)
|
|
5886
|
-
};
|
|
5887
|
-
}
|
|
5888
5878
|
function serializePluginOptions(options) {
|
|
5889
5879
|
if (options === null || options === void 0) return {};
|
|
5890
5880
|
if (typeof options !== "object") return options;
|
|
@@ -5902,21 +5892,6 @@ function isCommandMessage(msg) {
|
|
|
5902
5892
|
return msg.type === "command";
|
|
5903
5893
|
}
|
|
5904
5894
|
|
|
5905
|
-
function getMachineId() {
|
|
5906
|
-
const interfaces = os$1.networkInterfaces();
|
|
5907
|
-
const macs = [];
|
|
5908
|
-
for (const name in interfaces) {
|
|
5909
|
-
for (const iface of interfaces[name]) {
|
|
5910
|
-
if (!iface.internal && iface.mac !== "00:00:00:00:00:00") {
|
|
5911
|
-
macs.push(iface.mac);
|
|
5912
|
-
}
|
|
5913
|
-
}
|
|
5914
|
-
}
|
|
5915
|
-
const hostname = os$1.hostname();
|
|
5916
|
-
const rawId = macs.join(",") + hostname;
|
|
5917
|
-
return nodeCrypto.createHash("sha256").update(rawId).digest("hex");
|
|
5918
|
-
}
|
|
5919
|
-
|
|
5920
5895
|
const CONFIG_DIR = path$2.join(os$1.homedir(), ".kubb");
|
|
5921
5896
|
const CONFIG_FILE = path$2.join(CONFIG_DIR, "config.json");
|
|
5922
5897
|
function loadAgentConfig() {
|
|
@@ -5997,6 +5972,21 @@ function hashAgentToken(token) {
|
|
|
5997
5972
|
return createHash("sha512").update(token).digest("hex");
|
|
5998
5973
|
}
|
|
5999
5974
|
|
|
5975
|
+
function getMachineId() {
|
|
5976
|
+
const interfaces = os$1.networkInterfaces();
|
|
5977
|
+
const macs = [];
|
|
5978
|
+
for (const name in interfaces) {
|
|
5979
|
+
for (const iface of interfaces[name]) {
|
|
5980
|
+
if (!iface.internal && iface.mac !== "00:00:00:00:00:00") {
|
|
5981
|
+
macs.push(iface.mac);
|
|
5982
|
+
}
|
|
5983
|
+
}
|
|
5984
|
+
}
|
|
5985
|
+
const hostname = os$1.hostname();
|
|
5986
|
+
const rawId = macs.join(",") + hostname;
|
|
5987
|
+
return nodeCrypto.createHash("sha256").update(rawId).digest("hex");
|
|
5988
|
+
}
|
|
5989
|
+
|
|
6000
5990
|
async function createAgentSession({ token, studioUrl, noCache }) {
|
|
6001
5991
|
const cachedSession = !noCache ? getCachedSession(token) : null;
|
|
6002
5992
|
if (cachedSession) {
|
|
@@ -6089,7 +6079,7 @@ var BaseGenerator = (_a$3 = class {
|
|
|
6089
6079
|
function isInputPath(config) {
|
|
6090
6080
|
return typeof (config == null ? void 0 : config.input) === "object" && config.input !== null && "path" in config.input;
|
|
6091
6081
|
}
|
|
6092
|
-
var version$1 = "4.27.
|
|
6082
|
+
var version$1 = "4.27.4";
|
|
6093
6083
|
function getDiagnosticInfo() {
|
|
6094
6084
|
return {
|
|
6095
6085
|
nodeVersion: version$2,
|
|
@@ -6705,7 +6695,7 @@ async function generate({ config, events }) {
|
|
|
6705
6695
|
}
|
|
6706
6696
|
|
|
6707
6697
|
const tsLoader = async (configFile) => {
|
|
6708
|
-
const jiti = createJiti
|
|
6698
|
+
const jiti = createJiti(globalThis._importMeta_.url, {
|
|
6709
6699
|
jsx: {
|
|
6710
6700
|
runtime: "automatic",
|
|
6711
6701
|
importSource: "@kubb/react-fabric"
|
|
@@ -11033,16 +11023,15 @@ function getDefaultValue(schema) {
|
|
|
11033
11023
|
}
|
|
11034
11024
|
if (schema.type === "object" || schema.properties) return "{}";
|
|
11035
11025
|
}
|
|
11036
|
-
async function parse$3(pathOrApi, { oasClass = Oas,
|
|
11037
|
-
if (typeof pathOrApi === "string" &&
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
});
|
|
11026
|
+
async function parse$3(pathOrApi, { oasClass = Oas, enablePaths = true } = {}) {
|
|
11027
|
+
if (typeof pathOrApi === "string" && !pathOrApi.match(/\n/) && !pathOrApi.match(/^\s*\{/) && enablePaths) try {
|
|
11028
|
+
return parse$3(await bundle(pathOrApi), {
|
|
11029
|
+
oasClass,
|
|
11030
|
+
enablePaths
|
|
11031
|
+
});
|
|
11032
|
+
} catch (e) {
|
|
11033
|
+
console.warn(`[kubb] Failed to bundle external $refs in "${pathOrApi}": ${e.message}. Falling back to plain load.`);
|
|
11034
|
+
}
|
|
11046
11035
|
const document = await new OASNormalize(pathOrApi, {
|
|
11047
11036
|
enablePaths,
|
|
11048
11037
|
colorizeErrors: true
|
|
@@ -11056,8 +11045,7 @@ async function parse$3(pathOrApi, { oasClass = Oas, canBundle = true, enablePath
|
|
|
11056
11045
|
async function merge(pathOrApi, { oasClass = Oas } = {}) {
|
|
11057
11046
|
const instances = await Promise.all(pathOrApi.map((p) => parse$3(p, {
|
|
11058
11047
|
oasClass,
|
|
11059
|
-
enablePaths: false
|
|
11060
|
-
canBundle: false
|
|
11048
|
+
enablePaths: false
|
|
11061
11049
|
})));
|
|
11062
11050
|
if (instances.length === 0) throw new Error("No OAS instances provided for merging.");
|
|
11063
11051
|
return parse$3(instances.reduce((acc, current) => {
|
|
@@ -13629,7 +13617,12 @@ const pluginOas = definePlugin((options) => {
|
|
|
13629
13617
|
async install() {
|
|
13630
13618
|
const oas = await this.getOas({ validate });
|
|
13631
13619
|
if (!output) return;
|
|
13632
|
-
await oas.dereference()
|
|
13620
|
+
await oas.dereference().catch((err) => {
|
|
13621
|
+
this.events.emit("debug", {
|
|
13622
|
+
date: /* @__PURE__ */ new Date(),
|
|
13623
|
+
logs: [`Unable to fully dereference schema: ${err.message}`]
|
|
13624
|
+
});
|
|
13625
|
+
});
|
|
13633
13626
|
const schemaFiles = await new SchemaGenerator({
|
|
13634
13627
|
unknownType: "unknown",
|
|
13635
13628
|
emptySchemaType: "unknown",
|
|
@@ -213735,6 +213728,8 @@ const zodGenerator = createReactGenerator({
|
|
|
213735
213728
|
}
|
|
213736
213729
|
});
|
|
213737
213730
|
|
|
213731
|
+
const source$3 = "/**\n * See https://github.com/colinhacks/tozod/blob/master/src/index.ts\n * Adapted based on https://github.com/colinhacks/zod/issues/372\n */\n\nimport type * as z from 'zod'\n\ntype IsAny<T> = [any extends T ? 'true' : 'false'] extends ['true'] ? true : false\ntype NonOptional<T> = T extends undefined ? never : T\ntype NonNullable<T> = T extends null ? never : T\ntype Equals<X, Y> = [X] extends [Y] ? ([Y] extends [X] ? true : false) : false\n\ntype ZodKey<T> =\n IsAny<T> extends true\n ? 'any'\n : Equals<T, boolean> extends true //[T] extends [booleanUtil.Type]\n ? 'boolean'\n : [undefined] extends [T]\n ? 'optional'\n : [null] extends [T]\n ? 'nullable'\n : T extends any[]\n ? 'array'\n : Equals<T, string> extends true\n ? 'string'\n : Equals<T, bigint> extends true //[T] extends [bigintUtil.Type]\n ? 'bigint'\n : Equals<T, number> extends true //[T] extends [numberUtil.Type]\n ? 'number'\n : Equals<T, Date> extends true //[T] extends [dateUtil.Type]\n ? 'date'\n : T extends { [k: string]: any } //[T] extends [structUtil.Type]\n ? 'object'\n : 'rest'\n\nexport type ToZod<T> = {\n any: z.ZodAny\n optional: z.ZodOptional<ToZod<NonOptional<T>>>\n nullable: z.ZodNullable<ToZod<NonNullable<T>>>\n array: T extends Array<infer U> ? z.ZodArray<ToZod<U>> : never\n string: z.ZodString\n bigint: z.ZodBigInt\n number: z.ZodNumber\n boolean: z.ZodBoolean\n date: z.ZodDate\n object: z.ZodObject<\n // @ts-expect-error cannot convert without Extract but Extract removes the type\n {\n [K in keyof T]: T[K]\n },\n 'passthrough',\n unknown,\n T\n >\n rest: z.ZodType<T>\n}[ZodKey<T>]\n\nexport type ZodShape<T> = {\n // Require all the keys from T\n [key in keyof T]-?: ToZod<T[key]>\n}\n";
|
|
213732
|
+
|
|
213738
213733
|
const pluginZodName = "plugin-zod";
|
|
213739
213734
|
const pluginZod = definePlugin((options) => {
|
|
213740
213735
|
const { output = {
|
|
@@ -213800,7 +213795,7 @@ const pluginZod = definePlugin((options) => {
|
|
|
213800
213795
|
path: path$2.resolve(root, ".kubb/ToZod.ts"),
|
|
213801
213796
|
sources: [{
|
|
213802
213797
|
name: "ToZod",
|
|
213803
|
-
value:
|
|
213798
|
+
value: source$3
|
|
213804
213799
|
}],
|
|
213805
213800
|
imports: [],
|
|
213806
213801
|
exports: []
|
|
@@ -214490,6 +214485,12 @@ const staticClassClientGenerator = createReactGenerator({
|
|
|
214490
214485
|
}
|
|
214491
214486
|
});
|
|
214492
214487
|
|
|
214488
|
+
const source$2 = "import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios'\nimport axios from 'axios'\n\ndeclare const AXIOS_BASE: string\ndeclare const AXIOS_HEADERS: string\n\n/**\n * Subset of AxiosRequestConfig\n */\nexport type RequestConfig<TData = unknown> = {\n baseURL?: string\n url?: string\n method?: 'GET' | 'PUT' | 'PATCH' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD'\n params?: unknown\n data?: TData | FormData\n responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream'\n signal?: AbortSignal\n validateStatus?: (status: number) => boolean\n headers?: AxiosRequestConfig['headers']\n}\n\n/**\n * Subset of AxiosResponse\n */\nexport type ResponseConfig<TData = unknown> = {\n data: TData\n status: number\n statusText: string\n headers: AxiosResponse['headers']\n}\n\nexport type ResponseErrorConfig<TError = unknown> = AxiosError<TError>\n\nexport type Client = <TData, _TError = unknown, TVariables = unknown>(config: RequestConfig<TVariables>) => Promise<ResponseConfig<TData>>\n\nlet _config: Partial<RequestConfig> = {\n baseURL: typeof AXIOS_BASE !== 'undefined' ? AXIOS_BASE : undefined,\n headers: typeof AXIOS_HEADERS !== 'undefined' ? JSON.parse(AXIOS_HEADERS) : undefined,\n}\n\nexport const getConfig = () => _config\n\nexport const setConfig = (config: RequestConfig) => {\n _config = config\n return getConfig()\n}\n\nexport const mergeConfig = <T extends RequestConfig>(...configs: Array<Partial<T>>): Partial<T> => {\n return configs.reduce<Partial<T>>((merged, config) => {\n return {\n ...merged,\n ...config,\n headers: {\n ...merged.headers,\n ...config.headers,\n },\n }\n }, {})\n}\n\nexport const axiosInstance = axios.create(getConfig())\n\nexport const fetch = async <TData, TError = unknown, TVariables = unknown>(config: RequestConfig<TVariables>): Promise<ResponseConfig<TData>> => {\n return axiosInstance.request<TData, ResponseConfig<TData>>(mergeConfig(getConfig(), config)).catch((e: AxiosError<TError>) => {\n throw e\n })\n}\n\nfetch.getConfig = getConfig\nfetch.setConfig = setConfig\n";
|
|
214489
|
+
|
|
214490
|
+
const source$1 = "/**\n * RequestCredentials\n */\nexport type RequestCredentials = 'omit' | 'same-origin' | 'include'\n\n/**\n * Subset of FetchRequestConfig\n */\nexport type RequestConfig<TData = unknown> = {\n baseURL?: string\n url?: string\n method?: 'GET' | 'PUT' | 'PATCH' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD'\n params?: unknown\n data?: TData | FormData\n responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream'\n signal?: AbortSignal\n headers?: [string, string][] | Record<string, string>\n credentials?: RequestCredentials\n}\n\n/**\n * Subset of FetchResponse\n */\nexport type ResponseConfig<TData = unknown> = {\n data: TData\n status: number\n statusText: string\n headers: Headers\n}\n\nlet _config: Partial<RequestConfig> = {}\n\nexport const getConfig = () => _config\n\nexport const setConfig = (config: Partial<RequestConfig>) => {\n _config = config\n return getConfig()\n}\n\nexport const mergeConfig = <T extends RequestConfig>(...configs: Array<Partial<T>>): Partial<T> => {\n return configs.reduce<Partial<T>>((merged, config) => {\n return {\n ...merged,\n ...config,\n headers: {\n ...(Array.isArray(merged.headers) ? Object.fromEntries(merged.headers) : merged.headers),\n ...(Array.isArray(config.headers) ? Object.fromEntries(config.headers) : config.headers),\n },\n }\n }, {})\n}\n\nexport type ResponseErrorConfig<TError = unknown> = TError\n\nexport type Client = <TData, _TError = unknown, TVariables = unknown>(config: RequestConfig<TVariables>) => Promise<ResponseConfig<TData>>\n\nexport const fetch = async <TData, _TError = unknown, TVariables = unknown>(paramsConfig: RequestConfig<TVariables>): Promise<ResponseConfig<TData>> => {\n const normalizedParams = new URLSearchParams()\n\n const config = mergeConfig(getConfig(), paramsConfig)\n\n Object.entries(config.params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n let targetUrl = [config.baseURL, config.url].filter(Boolean).join('')\n\n if (config.params) {\n targetUrl += `?${normalizedParams}`\n }\n\n const response = await globalThis.fetch(targetUrl, {\n credentials: config.credentials || 'same-origin',\n method: config.method?.toUpperCase(),\n body: config.data instanceof FormData ? config.data : JSON.stringify(config.data),\n signal: config.signal,\n headers: config.headers,\n })\n\n const data = [204, 205, 304].includes(response.status) || !response.body ? {} : await response.json()\n\n return {\n data: data as TData,\n status: response.status,\n statusText: response.statusText,\n headers: response.headers as Headers,\n }\n}\n\nfetch.getConfig = getConfig\nfetch.setConfig = setConfig\n";
|
|
214491
|
+
|
|
214492
|
+
const source = "export function buildFormData<T = unknown>(data: T): FormData {\n const formData = new FormData()\n\n function appendData(key: string, value: any) {\n if (value instanceof Blob) {\n formData.append(key, value)\n return\n }\n if (value instanceof Date) {\n formData.append(key, value.toISOString())\n return\n }\n if (typeof value === 'number' || typeof value === 'boolean') {\n formData.append(key, String(value))\n return\n }\n if (typeof value === 'string') {\n formData.append(key, value)\n return\n }\n if (typeof value === 'object') {\n formData.append(key, new Blob([JSON.stringify(value)], { type: 'application/json' }))\n return\n }\n }\n\n if (data) {\n Object.entries(data).forEach(([key, value]) => {\n if (value === undefined || value === null) return\n\n if (Array.isArray(value)) {\n for (const valueItem of value) {\n if (valueItem === undefined || valueItem === null) continue\n appendData(key, valueItem)\n }\n } else {\n appendData(key, value)\n }\n })\n }\n\n return formData\n}\n";
|
|
214493
|
+
|
|
214493
214494
|
const pluginClientName = "plugin-client";
|
|
214494
214495
|
const pluginClient = definePlugin((options) => {
|
|
214495
214496
|
var _a;
|
|
@@ -214553,7 +214554,7 @@ const pluginClient = definePlugin((options) => {
|
|
|
214553
214554
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
214554
214555
|
sources: [{
|
|
214555
214556
|
name: "fetch",
|
|
214556
|
-
value:
|
|
214557
|
+
value: this.plugin.options.client === "fetch" ? source$1 : source$2,
|
|
214557
214558
|
isExportable: true,
|
|
214558
214559
|
isIndexable: true
|
|
214559
214560
|
}],
|
|
@@ -214565,7 +214566,7 @@ const pluginClient = definePlugin((options) => {
|
|
|
214565
214566
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
214566
214567
|
sources: [{
|
|
214567
214568
|
name: "config",
|
|
214568
|
-
value:
|
|
214569
|
+
value: source,
|
|
214569
214570
|
isExportable: false,
|
|
214570
214571
|
isIndexable: false
|
|
214571
214572
|
}],
|
|
@@ -215835,7 +215836,7 @@ const pluginMcp = definePlugin((options) => {
|
|
|
215835
215836
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
215836
215837
|
sources: [{
|
|
215837
215838
|
name: "fetch",
|
|
215838
|
-
value:
|
|
215839
|
+
value: this.plugin.options.client.client === "fetch" ? source$1 : source$2,
|
|
215839
215840
|
isExportable: true,
|
|
215840
215841
|
isIndexable: true
|
|
215841
215842
|
}],
|
|
@@ -215847,7 +215848,7 @@ const pluginMcp = definePlugin((options) => {
|
|
|
215847
215848
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
215848
215849
|
sources: [{
|
|
215849
215850
|
name: "config",
|
|
215850
|
-
value:
|
|
215851
|
+
value: source,
|
|
215851
215852
|
isExportable: false,
|
|
215852
215853
|
isIndexable: false
|
|
215853
215854
|
}],
|
|
@@ -219034,7 +219035,7 @@ const pluginReactQuery = definePlugin((options) => {
|
|
|
219034
219035
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
219035
219036
|
sources: [{
|
|
219036
219037
|
name: "fetch",
|
|
219037
|
-
value:
|
|
219038
|
+
value: this.plugin.options.client.client === "fetch" ? source$1 : source$2,
|
|
219038
219039
|
isExportable: true,
|
|
219039
219040
|
isIndexable: true
|
|
219040
219041
|
}],
|
|
@@ -219046,7 +219047,7 @@ const pluginReactQuery = definePlugin((options) => {
|
|
|
219046
219047
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
219047
219048
|
sources: [{
|
|
219048
219049
|
name: "config",
|
|
219049
|
-
value:
|
|
219050
|
+
value: source,
|
|
219050
219051
|
isExportable: false,
|
|
219051
219052
|
isIndexable: false
|
|
219052
219053
|
}],
|
|
@@ -219112,7 +219113,8 @@ const pluginRedoc = definePlugin((options) => {
|
|
|
219112
219113
|
pre: [pluginOasName],
|
|
219113
219114
|
async install() {
|
|
219114
219115
|
const oas = await this.getOas();
|
|
219115
|
-
await oas.dereference()
|
|
219116
|
+
await oas.dereference().catch((err) => {
|
|
219117
|
+
});
|
|
219116
219118
|
const root = path$2.resolve(this.config.root, this.config.output.path);
|
|
219117
219119
|
const pageHTML = await getPageHTML(oas.api);
|
|
219118
219120
|
await this.addFile({
|
|
@@ -220097,7 +220099,7 @@ const pluginSolidQuery = definePlugin((options) => {
|
|
|
220097
220099
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
220098
220100
|
sources: [{
|
|
220099
220101
|
name: "fetch",
|
|
220100
|
-
value:
|
|
220102
|
+
value: this.plugin.options.client.client === "fetch" ? source$1 : source$2,
|
|
220101
220103
|
isExportable: true,
|
|
220102
220104
|
isIndexable: true
|
|
220103
220105
|
}],
|
|
@@ -220109,7 +220111,7 @@ const pluginSolidQuery = definePlugin((options) => {
|
|
|
220109
220111
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
220110
220112
|
sources: [{
|
|
220111
220113
|
name: "config",
|
|
220112
|
-
value:
|
|
220114
|
+
value: source,
|
|
220113
220115
|
isExportable: false,
|
|
220114
220116
|
isIndexable: false
|
|
220115
220117
|
}],
|
|
@@ -221108,7 +221110,7 @@ const pluginSvelteQuery = definePlugin((options) => {
|
|
|
221108
221110
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
221109
221111
|
sources: [{
|
|
221110
221112
|
name: "fetch",
|
|
221111
|
-
value:
|
|
221113
|
+
value: this.plugin.options.client.client === "fetch" ? source$1 : source$2,
|
|
221112
221114
|
isExportable: true,
|
|
221113
221115
|
isIndexable: true
|
|
221114
221116
|
}],
|
|
@@ -221120,7 +221122,7 @@ const pluginSvelteQuery = definePlugin((options) => {
|
|
|
221120
221122
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
221121
221123
|
sources: [{
|
|
221122
221124
|
name: "config",
|
|
221123
|
-
value:
|
|
221125
|
+
value: source,
|
|
221124
221126
|
isExportable: false,
|
|
221125
221127
|
isIndexable: false
|
|
221126
221128
|
}],
|
|
@@ -222143,7 +222145,7 @@ const pluginSwr = definePlugin((options) => {
|
|
|
222143
222145
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
222144
222146
|
sources: [{
|
|
222145
222147
|
name: "fetch",
|
|
222146
|
-
value:
|
|
222148
|
+
value: this.plugin.options.client.client === "fetch" ? source$1 : source$2,
|
|
222147
222149
|
isExportable: true,
|
|
222148
222150
|
isIndexable: true
|
|
222149
222151
|
}],
|
|
@@ -222155,7 +222157,7 @@ const pluginSwr = definePlugin((options) => {
|
|
|
222155
222157
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
222156
222158
|
sources: [{
|
|
222157
222159
|
name: "config",
|
|
222158
|
-
value:
|
|
222160
|
+
value: source,
|
|
222159
222161
|
isExportable: false,
|
|
222160
222162
|
isIndexable: false
|
|
222161
222163
|
}],
|
|
@@ -223763,7 +223765,7 @@ const pluginVueQuery = definePlugin((options) => {
|
|
|
223763
223765
|
path: path$2.resolve(root, ".kubb/fetch.ts"),
|
|
223764
223766
|
sources: [{
|
|
223765
223767
|
name: "fetch",
|
|
223766
|
-
value:
|
|
223768
|
+
value: this.plugin.options.client.client === "fetch" ? source$1 : source$2,
|
|
223767
223769
|
isExportable: true,
|
|
223768
223770
|
isIndexable: true
|
|
223769
223771
|
}],
|
|
@@ -223775,7 +223777,7 @@ const pluginVueQuery = definePlugin((options) => {
|
|
|
223775
223777
|
path: path$2.resolve(root, ".kubb/config.ts"),
|
|
223776
223778
|
sources: [{
|
|
223777
223779
|
name: "config",
|
|
223778
|
-
value:
|
|
223780
|
+
value: source,
|
|
223779
223781
|
isExportable: false,
|
|
223780
223782
|
isIndexable: false
|
|
223781
223783
|
}],
|
|
@@ -223977,7 +223979,7 @@ function setupEventsStream(ws, events) {
|
|
|
223977
223979
|
});
|
|
223978
223980
|
}
|
|
223979
223981
|
|
|
223980
|
-
var version = "4.27.
|
|
223982
|
+
var version = "4.27.4";
|
|
223981
223983
|
|
|
223982
223984
|
const _zcw7I4pYH8OiCfaDcjy_x7I6IH1tLDQR3W_yRZgP6E = defineNitroPlugin(async (nitro) => {
|
|
223983
223985
|
const studioUrl = process$1.env.KUBB_STUDIO_URL || "https://studio.kubb.dev";
|
|
@@ -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-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../core/dist/chunk-iVr_oF3V.js","../../../../../core/dist/fs-Parec-wn.js","../../../../../core/dist/transformers-8ju9ixkG.js","../../../../../core/dist/getBarrelFiles-gRyVPFBP.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/
|
|
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-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../core/dist/chunk-iVr_oF3V.js","../../../../../core/dist/fs-Parec-wn.js","../../../../../core/dist/transformers-8ju9ixkG.js","../../../../../core/dist/getBarrelFiles-gRyVPFBP.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/cacheManager.ts","../../../../server/utils/machineId.ts","../../../../server/utils/api.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../../plugin-client/dist/chunk-Cd3iupn7.js","../../../../../plugin-oas/dist/SchemaMapper-Bq_JVBfF.js","../../../../../oas/dist/chunk-BdfDOGov.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/SchemaGenerator-DvvSm2Jo.js","../../../../../plugin-oas/dist/getFooter-flVUU6wg.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-uqlvmwoJ.js","../../../../../plugin-oas/dist/generators-C86kmpzf.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-DJvhXrHc.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-L5LzwAP7.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-BdDqZyuu.js","../../../../../plugin-zod/dist/generators-CcTPAM8G.js","../../../../../plugin-zod/dist/ToZod.source-B0uyS5aq.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-C3iBxAkk.js","../../../../../plugin-client/dist/axios.source-CDcg9aL-.js","../../../../../plugin-client/dist/fetch.source-DkBhuGC1.js","../../../../../plugin-client/dist/config.source-VWEtFolK.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BlvQKb3f.js","../../../../../plugin-cypress/dist/generators-BMwRo8o2.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-nXhowywN.js","../../../../../plugin-faker/dist/fakerGenerator-Dn1bSdX2.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-CI0jUJHC.js","../../../../../plugin-mcp/dist/generators-stveWfzc.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-r7XTqwE7.js","../../../../../plugin-msw/dist/generators-CKxCewx3.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-react-query/dist/components-CU3hgoxU.js","../../../../../plugin-react-query/dist/generators-DC1P5_Jn.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-solid-query/dist/components-BwxODR61.js","../../../../../plugin-solid-query/dist/generators-CSBNImMN.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-svelte-query/dist/components-DwwdYT9r.js","../../../../../plugin-svelte-query/dist/generators-zRvz2nC2.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk-eQyhnF5A.js","../../../../../plugin-swr/dist/components-DMM0j8AI.js","../../../../../plugin-swr/dist/generators-DoEN_HsS.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-vue-query/dist/components-CZbjY78K.js","../../../../../plugin-vue-query/dist/generators-DbYMnVDo.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/studioConfig.ts","../../../../server/utils/ws.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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","fsp","snakeCase","_inlineAppConfig","createRadixRouter","__defProp","__name","fs","merge","_head","_tail","_size","_a","_options","_b","Node","__publicField","Queue","__privateAdd","__privateGet","__privateSet","__privateWrapper","pLimit","validateConcurrency","path","__privateMethod","performance","_c","_d","_e","_f","trimExtName","os","crypto","version","error","process","exports","Kind","YAMLException","ScalarType","Comments","isPlainObject","parse","transformers","getParams$1","Function","getParams","Operations","Type","require","global","operationsGenerator","source","source$2","Response","getTransformer$1","QueryKey","getParams$9","QueryOptions","getParams$8","InfiniteQuery","getParams$7","InfiniteQueryOptions","getParams$6","getTransformer","MutationKey","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","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,56,106,107,108,109]}
|
|
@@ -9,11 +9,9 @@ import 'node:crypto';
|
|
|
9
9
|
import 'node:process';
|
|
10
10
|
import 'natural-orderby';
|
|
11
11
|
import 'remeda';
|
|
12
|
-
import 'node:url';
|
|
13
12
|
import 'execa';
|
|
14
|
-
import 'jiti';
|
|
15
|
-
import 'picocolors';
|
|
16
13
|
import 'node:os';
|
|
14
|
+
import 'picocolors';
|
|
17
15
|
import 'fs-extra';
|
|
18
16
|
import 'js-runtime';
|
|
19
17
|
import 'node:perf_hooks';
|
|
@@ -21,12 +19,14 @@ import 'node:module';
|
|
|
21
19
|
import '@kubb/react-fabric';
|
|
22
20
|
import '@kubb/react-fabric/parsers';
|
|
23
21
|
import '@kubb/react-fabric/plugins';
|
|
22
|
+
import 'node:url';
|
|
24
23
|
import 'semver';
|
|
25
24
|
import 'string-argv';
|
|
26
|
-
import '
|
|
25
|
+
import 'jiti';
|
|
27
26
|
import 'jsonpointer';
|
|
28
27
|
import 'oas';
|
|
29
|
-
import '
|
|
28
|
+
import 'oas/utils';
|
|
29
|
+
import '@readme/openapi-parser';
|
|
30
30
|
import 'oas/types';
|
|
31
31
|
import 'oas-normalize';
|
|
32
32
|
import 'swagger2openapi';
|
package/.output/server/index.mjs
CHANGED
|
@@ -9,11 +9,9 @@ import 'node:crypto';
|
|
|
9
9
|
import 'node:process';
|
|
10
10
|
import 'natural-orderby';
|
|
11
11
|
import 'remeda';
|
|
12
|
-
import 'node:url';
|
|
13
12
|
import 'execa';
|
|
14
|
-
import 'jiti';
|
|
15
|
-
import 'picocolors';
|
|
16
13
|
import 'node:os';
|
|
14
|
+
import 'picocolors';
|
|
17
15
|
import 'fs-extra';
|
|
18
16
|
import 'js-runtime';
|
|
19
17
|
import 'node:perf_hooks';
|
|
@@ -21,12 +19,14 @@ import 'node:module';
|
|
|
21
19
|
import '@kubb/react-fabric';
|
|
22
20
|
import '@kubb/react-fabric/parsers';
|
|
23
21
|
import '@kubb/react-fabric/plugins';
|
|
22
|
+
import 'node:url';
|
|
24
23
|
import 'semver';
|
|
25
24
|
import 'string-argv';
|
|
26
|
-
import '
|
|
25
|
+
import 'jiti';
|
|
27
26
|
import 'jsonpointer';
|
|
28
27
|
import 'oas';
|
|
29
|
-
import '
|
|
28
|
+
import 'oas/utils';
|
|
29
|
+
import '@readme/openapi-parser';
|
|
30
30
|
import 'oas/types';
|
|
31
31
|
import 'oas-normalize';
|
|
32
32
|
import 'swagger2openapi';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent-prod",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -18,20 +18,15 @@
|
|
|
18
18
|
"@readme/openapi-parser": "5.5.0",
|
|
19
19
|
"@readme/openapi-schemas": "3.1.0",
|
|
20
20
|
"@readme/postman-to-openapi": "4.1.0",
|
|
21
|
-
"@redocly/ajv": "8.17.4",
|
|
22
|
-
"@redocly/config": "0.43.0",
|
|
23
|
-
"@redocly/openapi-core": "2.19.1",
|
|
24
21
|
"@sec-ant/readable-stream": "0.4.1",
|
|
25
22
|
"@sindresorhus/merge-streams": "4.0.0",
|
|
26
23
|
"ajv": "8.17.1",
|
|
27
24
|
"ajv-draft-04": "1.0.0",
|
|
28
|
-
"ajv-formats": "3.0.1",
|
|
29
25
|
"balanced-match": "1.0.2",
|
|
30
26
|
"brace-expansion": "1.1.12",
|
|
31
27
|
"buffer-from": "1.1.2",
|
|
32
28
|
"bytes": "3.0.0",
|
|
33
29
|
"call-me-maybe": "1.0.2",
|
|
34
|
-
"colorette": "1.4.0",
|
|
35
30
|
"compute-gcd": "1.2.1",
|
|
36
31
|
"compute-lcm": "1.1.2",
|
|
37
32
|
"concat-map": "0.0.1",
|
|
@@ -61,7 +56,6 @@
|
|
|
61
56
|
"is-unicode-supported": "2.1.0",
|
|
62
57
|
"isexe": "2.0.0",
|
|
63
58
|
"jiti": "2.5.1",
|
|
64
|
-
"js-levenshtein": "1.1.6",
|
|
65
59
|
"js-runtime": "0.0.8",
|
|
66
60
|
"js-tokens": "4.0.0",
|
|
67
61
|
"js-yaml": "4.1.1",
|
|
@@ -96,8 +90,6 @@
|
|
|
96
90
|
"path-key": "4.0.0",
|
|
97
91
|
"path-to-regexp": "8.3.0",
|
|
98
92
|
"picocolors": "1.1.1",
|
|
99
|
-
"picomatch": "4.0.3",
|
|
100
|
-
"pluralize": "8.0.0",
|
|
101
93
|
"pretty-ms": "9.3.0",
|
|
102
94
|
"range-parser": "1.2.0",
|
|
103
95
|
"react-devtools-core": "6.1.5",
|
|
@@ -129,7 +121,6 @@
|
|
|
129
121
|
"which": "2.0.2",
|
|
130
122
|
"ws": "8.19.0",
|
|
131
123
|
"yaml": "1.10.2",
|
|
132
|
-
"yaml-ast-parser": "0.0.43",
|
|
133
124
|
"yocto-queue": "1.2.2",
|
|
134
125
|
"yoctocolors": "2.1.2"
|
|
135
126
|
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Stijn Van Hulle
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.4",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
"@kubb/fabric-core": "0.12.11",
|
|
42
42
|
"execa": "^9.6.1",
|
|
43
43
|
"jiti": "2.5.1",
|
|
44
|
-
"nitropack": "^2.13.1",
|
|
45
44
|
"picocolors": "^1.1.1",
|
|
46
45
|
"string-argv": "^0.3.2",
|
|
47
46
|
"ws": "^8.19.0",
|
|
48
|
-
"@kubb/core": "4.27.
|
|
49
|
-
"@kubb/plugin-client": "4.27.
|
|
50
|
-
"@kubb/plugin-cypress": "4.27.
|
|
51
|
-
"@kubb/plugin-faker": "4.27.
|
|
52
|
-
"@kubb/plugin-mcp": "4.27.
|
|
53
|
-
"@kubb/plugin-msw": "4.27.
|
|
54
|
-
"@kubb/plugin-oas": "4.27.
|
|
55
|
-
"@kubb/plugin-react-query": "4.27.
|
|
56
|
-
"@kubb/plugin-redoc": "4.27.
|
|
57
|
-
"@kubb/plugin-solid-query": "4.27.
|
|
58
|
-
"@kubb/plugin-svelte-query": "4.27.
|
|
59
|
-
"@kubb/plugin-swr": "4.27.
|
|
60
|
-
"@kubb/plugin-ts": "4.27.
|
|
61
|
-
"@kubb/plugin-vue-query": "4.27.
|
|
62
|
-
"@kubb/plugin-zod": "4.27.
|
|
47
|
+
"@kubb/core": "4.27.4",
|
|
48
|
+
"@kubb/plugin-client": "4.27.4",
|
|
49
|
+
"@kubb/plugin-cypress": "4.27.4",
|
|
50
|
+
"@kubb/plugin-faker": "4.27.4",
|
|
51
|
+
"@kubb/plugin-mcp": "4.27.4",
|
|
52
|
+
"@kubb/plugin-msw": "4.27.4",
|
|
53
|
+
"@kubb/plugin-oas": "4.27.4",
|
|
54
|
+
"@kubb/plugin-react-query": "4.27.4",
|
|
55
|
+
"@kubb/plugin-redoc": "4.27.4",
|
|
56
|
+
"@kubb/plugin-solid-query": "4.27.4",
|
|
57
|
+
"@kubb/plugin-svelte-query": "4.27.4",
|
|
58
|
+
"@kubb/plugin-swr": "4.27.4",
|
|
59
|
+
"@kubb/plugin-ts": "4.27.4",
|
|
60
|
+
"@kubb/plugin-vue-query": "4.27.4",
|
|
61
|
+
"@kubb/plugin-zod": "4.27.4"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
64
|
"@types/ws": "^8.18.1",
|
|
66
65
|
"msw": "^2.12.10",
|
|
66
|
+
"nitropack": "^2.13.1",
|
|
67
67
|
"vite": "^7.3.1"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|