@depup/redocly__openapi-core 2.26.0-depup.2 → 2.41.0-depup.0
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/README.md +7 -6
- package/changes.json +13 -9
- package/lib/bundle/bundle-document.d.ts +3 -0
- package/lib/bundle/bundle-document.d.ts.map +1 -1
- package/lib/bundle/bundle-document.js +27 -11
- package/lib/bundle/bundle-document.js.map +1 -1
- package/lib/bundle/bundle-visitor.d.ts +4 -2
- package/lib/bundle/bundle-visitor.d.ts.map +1 -1
- package/lib/bundle/bundle-visitor.js +91 -35
- package/lib/bundle/bundle-visitor.js.map +1 -1
- package/lib/bundle/bundle.js +2 -2
- package/lib/bundle/bundle.js.map +1 -1
- package/lib/config/all.d.ts.map +1 -1
- package/lib/config/all.js +35 -1
- package/lib/config/all.js.map +1 -1
- package/lib/config/builtIn.d.ts.map +1 -1
- package/lib/config/builtIn.js +2 -0
- package/lib/config/builtIn.js.map +1 -1
- package/lib/config/config-resolvers.d.ts.map +1 -1
- package/lib/config/config-resolvers.js +12 -19
- package/lib/config/config-resolvers.js.map +1 -1
- package/lib/config/config.d.ts +3 -2
- package/lib/config/config.d.ts.map +1 -1
- package/lib/config/config.js +65 -19
- package/lib/config/config.js.map +1 -1
- package/lib/config/group-assertion-rules.d.ts +1 -1
- package/lib/config/group-assertion-rules.d.ts.map +1 -1
- package/lib/config/group-assertion-rules.js +1 -1
- package/lib/config/group-assertion-rules.js.map +1 -1
- package/lib/config/index.d.ts +1 -0
- package/lib/config/index.d.ts.map +1 -1
- package/lib/config/index.js +1 -0
- package/lib/config/index.js.map +1 -1
- package/lib/config/minimal.d.ts.map +1 -1
- package/lib/config/minimal.js +35 -1
- package/lib/config/minimal.js.map +1 -1
- package/lib/config/plugins-cache.d.ts +8 -0
- package/lib/config/plugins-cache.d.ts.map +1 -0
- package/lib/config/plugins-cache.js +100 -0
- package/lib/config/plugins-cache.js.map +1 -0
- package/lib/config/recommended-strict.d.ts.map +1 -1
- package/lib/config/recommended-strict.js +35 -1
- package/lib/config/recommended-strict.js.map +1 -1
- package/lib/config/recommended.d.ts.map +1 -1
- package/lib/config/recommended.js +35 -1
- package/lib/config/recommended.js.map +1 -1
- package/lib/config/rules.d.ts +3 -4
- package/lib/config/rules.d.ts.map +1 -1
- package/lib/config/rules.js +4 -4
- package/lib/config/rules.js.map +1 -1
- package/lib/config/spec.d.ts.map +1 -1
- package/lib/config/spec.js +35 -1
- package/lib/config/spec.js.map +1 -1
- package/lib/config/types.d.ts +26 -18
- package/lib/config/types.d.ts.map +1 -1
- package/lib/config/utils.d.ts +2 -2
- package/lib/config/utils.d.ts.map +1 -1
- package/lib/config/utils.js +12 -0
- package/lib/config/utils.js.map +1 -1
- package/lib/config/visitors.d.ts +0 -6
- package/lib/config/visitors.d.ts.map +1 -1
- package/lib/config/visitors.js +3 -13
- package/lib/config/visitors.js.map +1 -1
- package/lib/decorators/common/filters/filter-helper.d.ts +1 -1
- package/lib/decorators/common/filters/filter-helper.d.ts.map +1 -1
- package/lib/decorators/common/filters/filter-helper.js +0 -1
- package/lib/decorators/common/filters/filter-helper.js.map +1 -1
- package/lib/decorators/common/info-override.d.ts.map +1 -1
- package/lib/decorators/common/info-override.js +2 -1
- package/lib/decorators/common/info-override.js.map +1 -1
- package/lib/decorators/oas2/index.d.ts +2 -11
- package/lib/decorators/oas2/index.d.ts.map +1 -1
- package/lib/decorators/oas2/index.js +1 -1
- package/lib/decorators/oas2/index.js.map +1 -1
- package/lib/decorators/oas2/remove-unused-components.d.ts.map +1 -1
- package/lib/decorators/oas2/remove-unused-components.js +63 -38
- package/lib/decorators/oas2/remove-unused-components.js.map +1 -1
- package/lib/decorators/oas3/index.d.ts +2 -12
- package/lib/decorators/oas3/index.d.ts.map +1 -1
- package/lib/decorators/oas3/index.js +2 -2
- package/lib/decorators/oas3/index.js.map +1 -1
- package/lib/decorators/oas3/media-type-examples-override.d.ts.map +1 -0
- package/lib/decorators/oas3/media-type-examples-override.js.map +1 -0
- package/lib/decorators/oas3/remove-unused-components.d.ts.map +1 -1
- package/lib/decorators/oas3/remove-unused-components.js +70 -43
- package/lib/decorators/oas3/remove-unused-components.js.map +1 -1
- package/lib/detect-spec.d.ts +0 -1
- package/lib/detect-spec.d.ts.map +1 -1
- package/lib/detect-spec.js +16 -15
- package/lib/detect-spec.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js.map +1 -1
- package/lib/errors/yaml-parse-error.d.ts +1 -1
- package/lib/errors/yaml-parse-error.d.ts.map +1 -1
- package/lib/errors/yaml-parse-error.js +4 -0
- package/lib/errors/yaml-parse-error.js.map +1 -1
- package/lib/format/format.d.ts +1 -1
- package/lib/format/format.d.ts.map +1 -1
- package/lib/format/format.js +50 -3
- package/lib/format/format.js.map +1 -1
- package/lib/graphql/assertions.d.ts +3 -0
- package/lib/graphql/assertions.d.ts.map +1 -0
- package/lib/graphql/assertions.js +141 -0
- package/lib/graphql/assertions.js.map +1 -0
- package/lib/graphql/detect-graphql.d.ts +3 -0
- package/lib/graphql/detect-graphql.d.ts.map +1 -0
- package/lib/graphql/detect-graphql.js +6 -0
- package/lib/graphql/detect-graphql.js.map +1 -0
- package/lib/graphql/lint-graphql.d.ts +8 -0
- package/lib/graphql/lint-graphql.d.ts.map +1 -0
- package/lib/graphql/lint-graphql.js +58 -0
- package/lib/graphql/lint-graphql.js.map +1 -0
- package/lib/graphql/node-kinds.d.ts +4 -0
- package/lib/graphql/node-kinds.d.ts.map +1 -0
- package/lib/graphql/node-kinds.js +52 -0
- package/lib/graphql/node-kinds.js.map +1 -0
- package/lib/graphql/visitor.d.ts +50 -0
- package/lib/graphql/visitor.d.ts.map +1 -0
- package/lib/graphql/visitor.js +58 -0
- package/lib/graphql/visitor.js.map +1 -0
- package/lib/index.d.ts +13 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/js-yaml/index.d.ts.map +1 -1
- package/lib/js-yaml/index.js +12 -9
- package/lib/js-yaml/index.js.map +1 -1
- package/lib/lint-entity.d.ts +1 -1
- package/lib/lint-entity.d.ts.map +1 -1
- package/lib/lint-entity.js +5 -5
- package/lib/lint-entity.js.map +1 -1
- package/lib/lint.d.ts.map +1 -1
- package/lib/lint.js +8 -5
- package/lib/lint.js.map +1 -1
- package/lib/logger.d.ts.map +1 -1
- package/lib/logger.js +1 -0
- package/lib/logger.js.map +1 -1
- package/lib/oas-types.d.ts +17 -867
- package/lib/oas-types.d.ts.map +1 -1
- package/lib/oas-types.js +8 -0
- package/lib/oas-types.js.map +1 -1
- package/lib/ref-utils.d.ts +4 -2
- package/lib/ref-utils.d.ts.map +1 -1
- package/lib/ref-utils.js +5 -3
- package/lib/ref-utils.js.map +1 -1
- package/lib/resolve.d.ts +1 -2
- package/lib/resolve.d.ts.map +1 -1
- package/lib/resolve.js +52 -29
- package/lib/resolve.js.map +1 -1
- package/lib/rules/ajv.d.ts +19 -16
- package/lib/rules/ajv.d.ts.map +1 -1
- package/lib/rules/ajv.js +86 -87
- package/lib/rules/ajv.js.map +1 -1
- package/lib/rules/arazzo/criteria-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/criteria-unique.js +3 -0
- package/lib/rules/arazzo/criteria-unique.js.map +1 -1
- package/lib/rules/arazzo/index.js +2 -2
- package/lib/rules/arazzo/index.js.map +1 -1
- package/lib/rules/arazzo/requestBody-replacements-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/requestBody-replacements-unique.js +1 -0
- package/lib/rules/arazzo/requestBody-replacements-unique.js.map +1 -1
- package/lib/rules/arazzo/sourceDescription-type.d.ts.map +1 -1
- package/lib/rules/arazzo/sourceDescription-type.js +7 -3
- package/lib/rules/arazzo/sourceDescription-type.js.map +1 -1
- package/lib/rules/arazzo/sourceDescriptions-name-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/sourceDescriptions-name-unique.js +1 -0
- package/lib/rules/arazzo/sourceDescriptions-name-unique.js.map +1 -1
- package/lib/rules/arazzo/spec-step-mutually-exclusive-fields.d.ts +3 -0
- package/lib/rules/arazzo/spec-step-mutually-exclusive-fields.d.ts.map +1 -0
- package/lib/rules/arazzo/spec-step-mutually-exclusive-fields.js +26 -0
- package/lib/rules/arazzo/spec-step-mutually-exclusive-fields.js.map +1 -0
- package/lib/rules/arazzo/step-onFailure-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/step-onFailure-unique.js +2 -0
- package/lib/rules/arazzo/step-onFailure-unique.js.map +1 -1
- package/lib/rules/arazzo/step-onSuccess-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/step-onSuccess-unique.js +2 -0
- package/lib/rules/arazzo/step-onSuccess-unique.js.map +1 -1
- package/lib/rules/arazzo/stepId-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/stepId-unique.js +1 -0
- package/lib/rules/arazzo/stepId-unique.js.map +1 -1
- package/lib/rules/arazzo/workflow-dependsOn.d.ts.map +1 -1
- package/lib/rules/arazzo/workflow-dependsOn.js +3 -0
- package/lib/rules/arazzo/workflow-dependsOn.js.map +1 -1
- package/lib/rules/arazzo/workflowId-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/workflowId-unique.js +1 -0
- package/lib/rules/arazzo/workflowId-unique.js.map +1 -1
- package/lib/rules/async2/channels-kebab-case.d.ts.map +1 -1
- package/lib/rules/async2/channels-kebab-case.js +1 -0
- package/lib/rules/async2/channels-kebab-case.js.map +1 -1
- package/lib/rules/async2/index.d.ts.map +1 -1
- package/lib/rules/async2/index.js +2 -0
- package/lib/rules/async2/index.js.map +1 -1
- package/lib/rules/async2/no-channel-trailing-slash.d.ts.map +1 -1
- package/lib/rules/async2/no-channel-trailing-slash.js +1 -0
- package/lib/rules/async2/no-channel-trailing-slash.js.map +1 -1
- package/lib/rules/async3/channels-kebab-case.d.ts.map +1 -1
- package/lib/rules/async3/channels-kebab-case.js +1 -0
- package/lib/rules/async3/channels-kebab-case.js.map +1 -1
- package/lib/rules/async3/index.d.ts.map +1 -1
- package/lib/rules/async3/index.js +2 -0
- package/lib/rules/async3/index.js.map +1 -1
- package/lib/rules/async3/no-channel-trailing-slash.d.ts.map +1 -1
- package/lib/rules/async3/no-channel-trailing-slash.js +1 -0
- package/lib/rules/async3/no-channel-trailing-slash.js.map +1 -1
- package/lib/rules/async3/security-scopes-defined.d.ts +3 -0
- package/lib/rules/async3/security-scopes-defined.d.ts.map +1 -0
- package/lib/rules/async3/security-scopes-defined.js +70 -0
- package/lib/rules/async3/security-scopes-defined.js.map +1 -0
- package/lib/rules/catalog-entity/entity-key-valid.js.map +1 -1
- package/lib/rules/common/assertions/asserts.d.ts +1 -0
- package/lib/rules/common/assertions/asserts.d.ts.map +1 -1
- package/lib/rules/common/assertions/asserts.js +12 -0
- package/lib/rules/common/assertions/asserts.js.map +1 -1
- package/lib/rules/common/assertions/index.d.ts +1 -0
- package/lib/rules/common/assertions/index.d.ts.map +1 -1
- package/lib/rules/common/assertions/index.js.map +1 -1
- package/lib/rules/common/assertions/utils.d.ts +13 -0
- package/lib/rules/common/assertions/utils.d.ts.map +1 -1
- package/lib/rules/common/assertions/utils.js +4 -3
- package/lib/rules/common/assertions/utils.js.map +1 -1
- package/lib/rules/common/info-contact.d.ts.map +1 -1
- package/lib/rules/common/info-contact.js +1 -0
- package/lib/rules/common/info-contact.js.map +1 -1
- package/lib/rules/common/info-license-strict.d.ts.map +1 -1
- package/lib/rules/common/info-license-strict.js +12 -2
- package/lib/rules/common/info-license-strict.js.map +1 -1
- package/lib/rules/common/info-license.d.ts.map +1 -1
- package/lib/rules/common/info-license.js +1 -0
- package/lib/rules/common/info-license.js.map +1 -1
- package/lib/rules/common/no-ambiguous-paths.d.ts.map +1 -1
- package/lib/rules/common/no-ambiguous-paths.js +1 -0
- package/lib/rules/common/no-ambiguous-paths.js.map +1 -1
- package/lib/rules/common/no-enum-type-mismatch.d.ts.map +1 -1
- package/lib/rules/common/no-enum-type-mismatch.js +2 -0
- package/lib/rules/common/no-enum-type-mismatch.js.map +1 -1
- package/lib/rules/common/no-http-verbs-in-paths.d.ts.map +1 -1
- package/lib/rules/common/no-http-verbs-in-paths.js +1 -0
- package/lib/rules/common/no-http-verbs-in-paths.js.map +1 -1
- package/lib/rules/common/no-identical-paths.d.ts.map +1 -1
- package/lib/rules/common/no-identical-paths.js +1 -0
- package/lib/rules/common/no-identical-paths.js.map +1 -1
- package/lib/rules/common/no-invalid-parameter-examples.d.ts +2 -1
- package/lib/rules/common/no-invalid-parameter-examples.d.ts.map +1 -1
- package/lib/rules/common/no-invalid-parameter-examples.js +27 -12
- package/lib/rules/common/no-invalid-parameter-examples.js.map +1 -1
- package/lib/rules/common/no-invalid-schema-examples.d.ts.map +1 -1
- package/lib/rules/common/no-invalid-schema-examples.js +22 -8
- package/lib/rules/common/no-invalid-schema-examples.js.map +1 -1
- package/lib/rules/common/no-mixed-number-range-constraints.d.ts.map +1 -1
- package/lib/rules/common/no-mixed-number-range-constraints.js +2 -0
- package/lib/rules/common/no-mixed-number-range-constraints.js.map +1 -1
- package/lib/rules/common/no-path-trailing-slash.d.ts.map +1 -1
- package/lib/rules/common/no-path-trailing-slash.js +1 -0
- package/lib/rules/common/no-path-trailing-slash.js.map +1 -1
- package/lib/rules/common/no-required-schema-properties-undefined.d.ts.map +1 -1
- package/lib/rules/common/no-required-schema-properties-undefined.js +1 -0
- package/lib/rules/common/no-required-schema-properties-undefined.js.map +1 -1
- package/lib/rules/common/no-schema-type-mismatch.d.ts.map +1 -1
- package/lib/rules/common/no-schema-type-mismatch.js +2 -0
- package/lib/rules/common/no-schema-type-mismatch.js.map +1 -1
- package/lib/rules/common/no-unresolved-refs.d.ts.map +1 -1
- package/lib/rules/common/no-unresolved-refs.js +1 -0
- package/lib/rules/common/no-unresolved-refs.js.map +1 -1
- package/lib/rules/common/operation-2xx-response.d.ts.map +1 -1
- package/lib/rules/common/operation-2xx-response.js +12 -2
- package/lib/rules/common/operation-2xx-response.js.map +1 -1
- package/lib/rules/common/operation-4xx-response.d.ts.map +1 -1
- package/lib/rules/common/operation-4xx-response.js +12 -2
- package/lib/rules/common/operation-4xx-response.js.map +1 -1
- package/lib/rules/common/operation-description.d.ts.map +1 -1
- package/lib/rules/common/operation-description.js +6 -1
- package/lib/rules/common/operation-description.js.map +1 -1
- package/lib/rules/common/operation-operationId-unique.d.ts.map +1 -1
- package/lib/rules/common/operation-operationId-unique.js +1 -0
- package/lib/rules/common/operation-operationId-unique.js.map +1 -1
- package/lib/rules/common/operation-operationId-url-safe.d.ts.map +1 -1
- package/lib/rules/common/operation-operationId-url-safe.js +1 -0
- package/lib/rules/common/operation-operationId-url-safe.js.map +1 -1
- package/lib/rules/common/operation-operationId.d.ts.map +1 -1
- package/lib/rules/common/operation-operationId.js +6 -1
- package/lib/rules/common/operation-operationId.js.map +1 -1
- package/lib/rules/common/operation-parameters-unique.d.ts.map +1 -1
- package/lib/rules/common/operation-parameters-unique.js +2 -0
- package/lib/rules/common/operation-parameters-unique.js.map +1 -1
- package/lib/rules/common/operation-singular-tag.d.ts.map +1 -1
- package/lib/rules/common/operation-singular-tag.js +1 -0
- package/lib/rules/common/operation-singular-tag.js.map +1 -1
- package/lib/rules/common/operation-summary.d.ts.map +1 -1
- package/lib/rules/common/operation-summary.js +6 -1
- package/lib/rules/common/operation-summary.js.map +1 -1
- package/lib/rules/common/operation-tag-defined.d.ts.map +1 -1
- package/lib/rules/common/operation-tag-defined.js +2 -0
- package/lib/rules/common/operation-tag-defined.js.map +1 -1
- package/lib/rules/common/parameter-description.d.ts.map +1 -1
- package/lib/rules/common/parameter-description.js +2 -0
- package/lib/rules/common/parameter-description.js.map +1 -1
- package/lib/rules/common/path-declaration-must-exist.d.ts.map +1 -1
- package/lib/rules/common/path-declaration-must-exist.js +1 -0
- package/lib/rules/common/path-declaration-must-exist.js.map +1 -1
- package/lib/rules/common/path-http-verbs-order.d.ts.map +1 -1
- package/lib/rules/common/path-http-verbs-order.js +1 -0
- package/lib/rules/common/path-http-verbs-order.js.map +1 -1
- package/lib/rules/common/path-not-include-query.d.ts.map +1 -1
- package/lib/rules/common/path-not-include-query.js +1 -0
- package/lib/rules/common/path-not-include-query.js.map +1 -1
- package/lib/rules/common/path-params-defined.js +8 -1
- package/lib/rules/common/path-params-defined.js.map +1 -1
- package/lib/rules/common/path-segment-plural.d.ts.map +1 -1
- package/lib/rules/common/path-segment-plural.js +1 -0
- package/lib/rules/common/path-segment-plural.js.map +1 -1
- package/lib/rules/common/paths-kebab-case.d.ts.map +1 -1
- package/lib/rules/common/paths-kebab-case.js +1 -0
- package/lib/rules/common/paths-kebab-case.js.map +1 -1
- package/lib/rules/common/required-string-property-missing-min-length.d.ts.map +1 -1
- package/lib/rules/common/required-string-property-missing-min-length.js +1 -0
- package/lib/rules/common/required-string-property-missing-min-length.js.map +1 -1
- package/lib/rules/common/response-contains-header.d.ts.map +1 -1
- package/lib/rules/common/response-contains-header.js +1 -0
- package/lib/rules/common/response-contains-header.js.map +1 -1
- package/lib/rules/common/scalar-property-missing-example.d.ts.map +1 -1
- package/lib/rules/common/scalar-property-missing-example.js +1 -0
- package/lib/rules/common/scalar-property-missing-example.js.map +1 -1
- package/lib/rules/common/security-defined.d.ts.map +1 -1
- package/lib/rules/common/security-defined.js +2 -0
- package/lib/rules/common/security-defined.js.map +1 -1
- package/lib/rules/common/security-scopes-defined.d.ts +3 -0
- package/lib/rules/common/security-scopes-defined.d.ts.map +1 -0
- package/lib/rules/common/security-scopes-defined.js +71 -0
- package/lib/rules/common/security-scopes-defined.js.map +1 -0
- package/lib/rules/common/spec-strict-refs.d.ts.map +1 -1
- package/lib/rules/common/spec-strict-refs.js +1 -0
- package/lib/rules/common/spec-strict-refs.js.map +1 -1
- package/lib/rules/common/struct.d.ts +2 -2
- package/lib/rules/common/struct.d.ts.map +1 -1
- package/lib/rules/common/struct.js +2 -2
- package/lib/rules/common/struct.js.map +1 -1
- package/lib/rules/common/tag-description.d.ts.map +1 -1
- package/lib/rules/common/tag-description.js +6 -1
- package/lib/rules/common/tag-description.js.map +1 -1
- package/lib/rules/common/tags-alphabetical.d.ts.map +1 -1
- package/lib/rules/common/tags-alphabetical.js +1 -0
- package/lib/rules/common/tags-alphabetical.js.map +1 -1
- package/lib/rules/graphql/index.d.ts +3 -0
- package/lib/rules/graphql/index.d.ts.map +1 -0
- package/lib/rules/graphql/index.js +11 -0
- package/lib/rules/graphql/index.js.map +1 -0
- package/lib/rules/graphql/no-unused-types.d.ts +3 -0
- package/lib/rules/graphql/no-unused-types.d.ts.map +1 -0
- package/lib/rules/graphql/no-unused-types.js +101 -0
- package/lib/rules/graphql/no-unused-types.js.map +1 -0
- package/lib/rules/graphql/struct.d.ts +3 -0
- package/lib/rules/graphql/struct.d.ts.map +1 -0
- package/lib/rules/graphql/struct.js +41 -0
- package/lib/rules/graphql/struct.js.map +1 -0
- package/lib/rules/graphql/type-description.d.ts +3 -0
- package/lib/rules/graphql/type-description.d.ts.map +1 -0
- package/lib/rules/graphql/type-description.js +19 -0
- package/lib/rules/graphql/type-description.js.map +1 -0
- package/lib/rules/oas2/boolean-parameter-prefixes.d.ts.map +1 -1
- package/lib/rules/oas2/boolean-parameter-prefixes.js +1 -0
- package/lib/rules/oas2/boolean-parameter-prefixes.js.map +1 -1
- package/lib/rules/oas2/index.d.ts.map +1 -1
- package/lib/rules/oas2/index.js +2 -0
- package/lib/rules/oas2/index.js.map +1 -1
- package/lib/rules/oas2/request-mime-type.d.ts.map +1 -1
- package/lib/rules/oas2/request-mime-type.js +15 -3
- package/lib/rules/oas2/request-mime-type.js.map +1 -1
- package/lib/rules/oas2/response-contains-property.d.ts.map +1 -1
- package/lib/rules/oas2/response-contains-property.js +1 -0
- package/lib/rules/oas2/response-contains-property.js.map +1 -1
- package/lib/rules/oas2/response-mime-type.d.ts.map +1 -1
- package/lib/rules/oas2/response-mime-type.js +15 -3
- package/lib/rules/oas2/response-mime-type.js.map +1 -1
- package/lib/rules/oas3/array-parameter-serialization.d.ts.map +1 -1
- package/lib/rules/oas3/array-parameter-serialization.js +1 -0
- package/lib/rules/oas3/array-parameter-serialization.js.map +1 -1
- package/lib/rules/oas3/boolean-parameter-prefixes.d.ts.map +1 -1
- package/lib/rules/oas3/boolean-parameter-prefixes.js +1 -0
- package/lib/rules/oas3/boolean-parameter-prefixes.js.map +1 -1
- package/lib/rules/oas3/component-name-unique.d.ts.map +1 -1
- package/lib/rules/oas3/component-name-unique.js +3 -3
- package/lib/rules/oas3/component-name-unique.js.map +1 -1
- package/lib/rules/oas3/index.d.ts.map +1 -1
- package/lib/rules/oas3/index.js +2 -0
- package/lib/rules/oas3/index.js.map +1 -1
- package/lib/rules/oas3/no-empty-servers.d.ts.map +1 -1
- package/lib/rules/oas3/no-empty-servers.js +2 -0
- package/lib/rules/oas3/no-empty-servers.js.map +1 -1
- package/lib/rules/oas3/no-example-value-and-externalValue.d.ts.map +1 -1
- package/lib/rules/oas3/no-example-value-and-externalValue.js +1 -0
- package/lib/rules/oas3/no-example-value-and-externalValue.js.map +1 -1
- package/lib/rules/oas3/no-invalid-media-type-examples.d.ts.map +1 -1
- package/lib/rules/oas3/no-invalid-media-type-examples.js +23 -10
- package/lib/rules/oas3/no-invalid-media-type-examples.js.map +1 -1
- package/lib/rules/oas3/no-server-example.com.d.ts.map +1 -1
- package/lib/rules/oas3/no-server-example.com.js +1 -0
- package/lib/rules/oas3/no-server-example.com.js.map +1 -1
- package/lib/rules/oas3/no-server-trailing-slash.d.ts.map +1 -1
- package/lib/rules/oas3/no-server-trailing-slash.js +1 -0
- package/lib/rules/oas3/no-server-trailing-slash.js.map +1 -1
- package/lib/rules/oas3/no-server-variables-empty-enum.d.ts.map +1 -1
- package/lib/rules/oas3/no-server-variables-empty-enum.js +2 -0
- package/lib/rules/oas3/no-server-variables-empty-enum.js.map +1 -1
- package/lib/rules/oas3/no-undefined-server-variable.d.ts.map +1 -1
- package/lib/rules/oas3/no-undefined-server-variable.js +2 -0
- package/lib/rules/oas3/no-undefined-server-variable.js.map +1 -1
- package/lib/rules/oas3/no-unused-components.d.ts.map +1 -1
- package/lib/rules/oas3/no-unused-components.js +29 -7
- package/lib/rules/oas3/no-unused-components.js.map +1 -1
- package/lib/rules/oas3/nullable-type-sibling.d.ts.map +1 -1
- package/lib/rules/oas3/nullable-type-sibling.js +1 -0
- package/lib/rules/oas3/nullable-type-sibling.js.map +1 -1
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.d.ts.map +1 -1
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +19 -3
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js.map +1 -1
- package/lib/rules/oas3/request-mime-type.d.ts.map +1 -1
- package/lib/rules/oas3/request-mime-type.js +21 -3
- package/lib/rules/oas3/request-mime-type.js.map +1 -1
- package/lib/rules/oas3/response-contains-property.d.ts.map +1 -1
- package/lib/rules/oas3/response-contains-property.js +1 -0
- package/lib/rules/oas3/response-contains-property.js.map +1 -1
- package/lib/rules/oas3/response-mime-type.d.ts.map +1 -1
- package/lib/rules/oas3/response-mime-type.js +21 -3
- package/lib/rules/oas3/response-mime-type.js.map +1 -1
- package/lib/rules/oas3/spec-components-invalid-map-name.d.ts.map +1 -1
- package/lib/rules/oas3/spec-components-invalid-map-name.js +5 -3
- package/lib/rules/oas3/spec-components-invalid-map-name.js.map +1 -1
- package/lib/rules/oas3/spec-discriminator-defaultMapping.d.ts.map +1 -1
- package/lib/rules/oas3/spec-discriminator-defaultMapping.js +2 -0
- package/lib/rules/oas3/spec-discriminator-defaultMapping.js.map +1 -1
- package/lib/rules/oas3/spec-example-values.d.ts.map +1 -1
- package/lib/rules/oas3/spec-example-values.js +4 -0
- package/lib/rules/oas3/spec-example-values.js.map +1 -1
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.d.ts.map +1 -1
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +1 -0
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.js.map +1 -1
- package/lib/rules/oas3/spec-no-invalid-tag-parents.d.ts.map +1 -1
- package/lib/rules/oas3/spec-no-invalid-tag-parents.js +2 -0
- package/lib/rules/oas3/spec-no-invalid-tag-parents.js.map +1 -1
- package/lib/rules/oas3/spec-querystring-parameters.d.ts.map +1 -1
- package/lib/rules/oas3/spec-querystring-parameters.js +3 -0
- package/lib/rules/oas3/spec-querystring-parameters.js.map +1 -1
- package/lib/rules/openrpc/no-unused-components.d.ts.map +1 -1
- package/lib/rules/openrpc/no-unused-components.js +2 -3
- package/lib/rules/openrpc/no-unused-components.js.map +1 -1
- package/lib/rules/openrpc/spec-no-duplicated-method-params.d.ts.map +1 -1
- package/lib/rules/openrpc/spec-no-duplicated-method-params.js +1 -0
- package/lib/rules/openrpc/spec-no-duplicated-method-params.js.map +1 -1
- package/lib/rules/openrpc/spec-no-required-params-after-optional.d.ts.map +1 -1
- package/lib/rules/openrpc/spec-no-required-params-after-optional.js +1 -0
- package/lib/rules/openrpc/spec-no-required-params-after-optional.js.map +1 -1
- package/lib/rules/other/stats.d.ts +6 -6
- package/lib/rules/other/stats.d.ts.map +1 -1
- package/lib/rules/other/stats.js.map +1 -1
- package/lib/rules/respect/no-criteria-xpath.d.ts.map +1 -1
- package/lib/rules/respect/no-criteria-xpath.js +1 -0
- package/lib/rules/respect/no-criteria-xpath.js.map +1 -1
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.d.ts.map +1 -1
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +1 -0
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js.map +1 -1
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.d.ts.map +1 -1
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +1 -0
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.js.map +1 -1
- package/lib/rules/respect/x-security-scheme-name-reference.d.ts.map +1 -1
- package/lib/rules/respect/x-security-scheme-name-reference.js +1 -0
- package/lib/rules/respect/x-security-scheme-name-reference.js.map +1 -1
- package/lib/rules/respect/x-security-scheme-required-values.d.ts.map +1 -1
- package/lib/rules/respect/x-security-scheme-required-values.js +2 -0
- package/lib/rules/respect/x-security-scheme-required-values.js.map +1 -1
- package/lib/rules/utils.d.ts +35 -9
- package/lib/rules/utils.d.ts.map +1 -1
- package/lib/rules/utils.js +31 -11
- package/lib/rules/utils.js.map +1 -1
- package/lib/types/arazzo1_1.d.ts +3 -0
- package/lib/types/arazzo1_1.d.ts.map +1 -0
- package/lib/types/arazzo1_1.js +226 -0
- package/lib/types/arazzo1_1.js.map +1 -0
- package/lib/types/asyncapi-bindings.d.ts +8 -0
- package/lib/types/asyncapi-bindings.d.ts.map +1 -0
- package/lib/types/asyncapi-bindings.js +949 -0
- package/lib/types/asyncapi-bindings.js.map +1 -0
- package/lib/types/asyncapi2.d.ts +0 -1
- package/lib/types/asyncapi2.d.ts.map +1 -1
- package/lib/types/asyncapi2.js +2 -605
- package/lib/types/asyncapi2.js.map +1 -1
- package/lib/types/asyncapi3.d.ts.map +1 -1
- package/lib/types/asyncapi3.js +36 -4
- package/lib/types/asyncapi3.js.map +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +4 -6
- package/lib/types/index.js.map +1 -1
- package/lib/types/json-schema-adapter.js.map +1 -1
- package/lib/types/oas2.d.ts.map +1 -1
- package/lib/types/oas2.js +2 -1
- package/lib/types/oas2.js.map +1 -1
- package/lib/types/redocly-yaml.d.ts +11 -5
- package/lib/types/redocly-yaml.d.ts.map +1 -1
- package/lib/types/redocly-yaml.js +141 -15
- package/lib/types/redocly-yaml.js.map +1 -1
- package/lib/typings/arazzo.d.ts +36 -9
- package/lib/typings/arazzo.d.ts.map +1 -1
- package/lib/typings/arazzo.js +1 -2
- package/lib/typings/arazzo.js.map +1 -1
- package/lib/typings/asyncapi3.d.ts +67 -6
- package/lib/typings/asyncapi3.d.ts.map +1 -1
- package/lib/typings/openapi.d.ts +5 -13
- package/lib/typings/openapi.d.ts.map +1 -1
- package/lib/typings/swagger.d.ts +1 -1
- package/lib/typings/swagger.d.ts.map +1 -1
- package/lib/utils/dequal.js +1 -0
- package/lib/utils/dequal.js.map +1 -1
- package/lib/utils/is-not-empty-array.js +1 -1
- package/lib/utils/is-not-empty-array.js.map +1 -1
- package/lib/utils/is-plain-object.d.ts.map +1 -1
- package/lib/utils/is-plain-object.js +1 -0
- package/lib/utils/is-plain-object.js.map +1 -1
- package/lib/utils/is-supported-extension.d.ts +2 -0
- package/lib/utils/is-supported-extension.d.ts.map +1 -0
- package/lib/utils/is-supported-extension.js +4 -0
- package/lib/utils/is-supported-extension.js.map +1 -0
- package/lib/utils/oas-has-component.d.ts +1 -1
- package/lib/utils/oas-has-component.d.ts.map +1 -1
- package/lib/utils/read-file-from-url.d.ts +1 -1
- package/lib/utils/read-file-from-url.d.ts.map +1 -1
- package/lib/utils/scorecards.js +3 -3
- package/lib/utils/scorecards.js.map +1 -1
- package/lib/utils/to-pascal-case.d.ts +2 -0
- package/lib/utils/to-pascal-case.d.ts.map +1 -0
- package/lib/utils/to-pascal-case.js +8 -0
- package/lib/utils/to-pascal-case.js.map +1 -0
- package/lib/utils/validate-mime-type.d.ts +10 -2
- package/lib/utils/validate-mime-type.d.ts.map +1 -1
- package/lib/utils/validate-mime-type.js +6 -2
- package/lib/utils/validate-mime-type.js.map +1 -1
- package/lib/visitors.d.ts +13 -9
- package/lib/visitors.d.ts.map +1 -1
- package/lib/visitors.js.map +1 -1
- package/lib/walk.d.ts +6 -2
- package/lib/walk.d.ts.map +1 -1
- package/lib/walk.js +28 -16
- package/lib/walk.js.map +1 -1
- package/package.json +25 -21
- package/lib/decorators/common/media-type-examples-override.d.ts.map +0 -1
- package/lib/decorators/common/media-type-examples-override.js.map +0 -1
- package/lib/rules/respect/respect-supported-versions.d.ts +0 -3
- package/lib/rules/respect/respect-supported-versions.d.ts.map +0 -1
- package/lib/rules/respect/respect-supported-versions.js +0 -18
- package/lib/rules/respect/respect-supported-versions.js.map +0 -1
- /package/lib/decorators/{common → oas3}/media-type-examples-override.d.ts +0 -0
- /package/lib/decorators/{common → oas3}/media-type-examples-override.js +0 -0
package/lib/rules/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/rules/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/rules/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAUlD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAI5D,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,WAAsC,EACtC,GAAgB,EAChB,WAAoB,EAIpB,EAAE;IACF,IAAI,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;QACvB,MAAM,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAI,WAAW,EAAE,WAAW,CAAC,CAAC;QAC1D,OAAO,QAAQ;YACb,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE;YAC5E,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;IACnD,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AACxD,CAAC,CAAC;AAEF,MAAM,UAAU,SAAS,CAAC,KAAc;IACtC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CA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
import { isPlainObject } from '../utils/is-plain-object.js';
|
|
2
|
+
import { Arazzo1Types } from './arazzo.js';
|
|
3
|
+
const Root = {
|
|
4
|
+
...Arazzo1Types.Root,
|
|
5
|
+
properties: {
|
|
6
|
+
...Arazzo1Types.Root.properties,
|
|
7
|
+
$self: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
description: 'This string MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.1. The $self field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [RFC3986] Section 5.1.1.',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
const SourceDescriptions = {
|
|
14
|
+
properties: {},
|
|
15
|
+
items: (value) => {
|
|
16
|
+
if (value?.type === 'openapi') {
|
|
17
|
+
return 'OpenAPISourceDescription';
|
|
18
|
+
}
|
|
19
|
+
else if (value?.type === 'asyncapi') {
|
|
20
|
+
return 'AsyncAPISourceDescription';
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return 'ArazzoSourceDescription';
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
const AsyncAPISourceDescription = {
|
|
28
|
+
properties: {
|
|
29
|
+
name: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
description: `REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
|
|
32
|
+
},
|
|
33
|
+
type: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
enum: ['asyncapi'],
|
|
36
|
+
description: 'The type of source description. Possible values are "asyncapi".',
|
|
37
|
+
},
|
|
38
|
+
url: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
description: 'REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
required: ['name', 'type', 'url'],
|
|
44
|
+
extensionsPrefix: 'x-',
|
|
45
|
+
description: 'Describes a source description (such as an AsyncAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
|
|
46
|
+
};
|
|
47
|
+
const Parameter = {
|
|
48
|
+
...Arazzo1Types.Parameter,
|
|
49
|
+
properties: {
|
|
50
|
+
...Arazzo1Types.Parameter.properties,
|
|
51
|
+
in: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
enum: ['header', 'query', 'path', 'cookie', 'querystring'],
|
|
54
|
+
description: 'The location of the parameter. Possible values are "path", "query", "querystring", "header", or "cookie". When the step in context specifies a workflowId, then all parameters map to workflow inputs. In all other scenarios (e.g., a step specifies an operationId), the in field MUST be specified.',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
const Step = {
|
|
59
|
+
...Arazzo1Types.Step,
|
|
60
|
+
properties: {
|
|
61
|
+
...Arazzo1Types.Step.properties,
|
|
62
|
+
channelPath: {
|
|
63
|
+
type: 'string',
|
|
64
|
+
description: 'A reference to a Source Description Object combined with a JSON Pointer to reference an AsyncAPI channel. This field is mutually exclusive of the operationId, operationPath, and workflowId fields respectively. A Runtime Expression syntax MUST be used to identify the source description document.',
|
|
65
|
+
},
|
|
66
|
+
action: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
enum: ['send', 'receive'],
|
|
69
|
+
description: 'Describes the intent of the message flow for an AsyncAPI operation. Possible values are "send" or "receive".',
|
|
70
|
+
},
|
|
71
|
+
correlationId: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
description: 'A Runtime Expression used to correlate a request with a response when interacting with asynchronous APIs. Applies to "receive" steps.',
|
|
74
|
+
},
|
|
75
|
+
timeout: {
|
|
76
|
+
type: 'integer',
|
|
77
|
+
minimum: 0,
|
|
78
|
+
description: 'A non-negative integer indicating the maximum amount of time (in milliseconds) to wait before timing out.',
|
|
79
|
+
},
|
|
80
|
+
dependsOn: {
|
|
81
|
+
type: 'array',
|
|
82
|
+
items: { type: 'string' },
|
|
83
|
+
description: 'A list of steps that MUST be completed before this step can be executed. Each value provided MUST be a stepId.',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
requiredOneOf: ['x-operation', 'operationId', 'operationPath', 'channelPath', 'workflowId'],
|
|
87
|
+
};
|
|
88
|
+
const JSONPathExpression = {
|
|
89
|
+
properties: {
|
|
90
|
+
type: { type: 'string', enum: ['jsonpath'] },
|
|
91
|
+
version: { type: 'string', enum: ['rfc9535', 'draft-goessner-dispatch-jsonpath-00'] },
|
|
92
|
+
},
|
|
93
|
+
required: ['type', 'version'],
|
|
94
|
+
};
|
|
95
|
+
const XPathExpression = {
|
|
96
|
+
properties: {
|
|
97
|
+
type: { type: 'string', enum: ['xpath'] },
|
|
98
|
+
version: { type: 'string', enum: ['xpath-31', 'xpath-30', 'xpath-20', 'xpath-10'] },
|
|
99
|
+
},
|
|
100
|
+
required: ['type', 'version'],
|
|
101
|
+
};
|
|
102
|
+
const JSONPointerExpression = {
|
|
103
|
+
properties: {
|
|
104
|
+
type: { type: 'string', enum: ['jsonpointer'] },
|
|
105
|
+
version: { type: 'string', enum: ['rfc6901'] },
|
|
106
|
+
},
|
|
107
|
+
required: ['type', 'version'],
|
|
108
|
+
};
|
|
109
|
+
const ExpressionType = {
|
|
110
|
+
properties: {
|
|
111
|
+
type: {
|
|
112
|
+
type: 'string',
|
|
113
|
+
enum: ['jsonpath', 'xpath', 'jsonpointer'],
|
|
114
|
+
description: 'REQUIRED. The selector type. The options allowed are jsonpath, xpath, or jsonpointer.',
|
|
115
|
+
},
|
|
116
|
+
version: {
|
|
117
|
+
type: 'string',
|
|
118
|
+
description: 'REQUIRED. A short hand string representing the version of the expression type being used.',
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
required: ['type', 'version'],
|
|
122
|
+
};
|
|
123
|
+
const expressionTypeResolver = (value) => {
|
|
124
|
+
if (value?.type === 'jsonpath') {
|
|
125
|
+
return 'JSONPathExpression';
|
|
126
|
+
}
|
|
127
|
+
else if (value?.type === 'xpath') {
|
|
128
|
+
return 'XPathExpression';
|
|
129
|
+
}
|
|
130
|
+
else if (value?.type === 'jsonpointer') {
|
|
131
|
+
return 'JSONPointerExpression';
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
return 'ExpressionType';
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
const expressionTypeOrEnumResolver = (enumValues, description, { optional = true } = {}) => (value) => {
|
|
138
|
+
if (optional && !value) {
|
|
139
|
+
return undefined;
|
|
140
|
+
}
|
|
141
|
+
else if (typeof value === 'string') {
|
|
142
|
+
return { enum: enumValues, description };
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return expressionTypeResolver(value);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
const CriterionObject = {
|
|
149
|
+
...Arazzo1Types.CriterionObject,
|
|
150
|
+
properties: {
|
|
151
|
+
...Arazzo1Types.CriterionObject.properties,
|
|
152
|
+
type: expressionTypeOrEnumResolver(['regex', 'jsonpath', 'simple', 'xpath'], 'The type of condition to be applied.'),
|
|
153
|
+
},
|
|
154
|
+
};
|
|
155
|
+
const SelectorObject = {
|
|
156
|
+
properties: {
|
|
157
|
+
context: {
|
|
158
|
+
type: 'string',
|
|
159
|
+
description: 'REQUIRED. A Runtime Expression that evaluates to structured data (e.g., $response.body) the selector is applied to.',
|
|
160
|
+
},
|
|
161
|
+
selector: {
|
|
162
|
+
type: 'string',
|
|
163
|
+
description: 'REQUIRED. The selector expression (JSONPath, XPath, or JSON Pointer) used to extract data from the context.',
|
|
164
|
+
},
|
|
165
|
+
type: expressionTypeOrEnumResolver(['jsonpath', 'xpath', 'jsonpointer'], 'The type of selector to be applied.', { optional: false }),
|
|
166
|
+
},
|
|
167
|
+
required: ['context', 'selector', 'type'],
|
|
168
|
+
extensionsPrefix: 'x-',
|
|
169
|
+
description: 'An object used to extract specific data from structured content using JSONPath, XPath, or JSON Pointer expressions.',
|
|
170
|
+
};
|
|
171
|
+
const Outputs = {
|
|
172
|
+
properties: {},
|
|
173
|
+
additionalProperties: (value) => {
|
|
174
|
+
if (isPlainObject(value)) {
|
|
175
|
+
return 'SelectorObject';
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
return { type: 'string' };
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
description: 'A map between a friendly name and a dynamic output value defined using a Runtime Expression or a Selector Object. The name MUST use keys that match the regular expression: ^[a-zA-Z0-9_.-]+$.',
|
|
182
|
+
};
|
|
183
|
+
const Replacement = {
|
|
184
|
+
...Arazzo1Types.Replacement,
|
|
185
|
+
properties: {
|
|
186
|
+
...Arazzo1Types.Replacement.properties,
|
|
187
|
+
// The value can be a constant (including a plain object), a runtime expression,
|
|
188
|
+
// or a Selector Object. Only validate it as a Selector Object when it carries the
|
|
189
|
+
// selector-specific `selector` key; otherwise keep the permissive "any" behavior.
|
|
190
|
+
value: (value) => (isPlainObject(value) && 'selector' in value ? 'SelectorObject' : {}),
|
|
191
|
+
targetSelectorType: expressionTypeOrEnumResolver(['jsonpath', 'xpath', 'jsonpointer'], 'The type of selector used in the target field.'),
|
|
192
|
+
},
|
|
193
|
+
};
|
|
194
|
+
const SuccessActionObject = {
|
|
195
|
+
...Arazzo1Types.SuccessActionObject,
|
|
196
|
+
properties: {
|
|
197
|
+
...Arazzo1Types.SuccessActionObject.properties,
|
|
198
|
+
parameters: 'Parameters',
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
const FailureActionObject = {
|
|
202
|
+
...Arazzo1Types.FailureActionObject,
|
|
203
|
+
properties: {
|
|
204
|
+
...Arazzo1Types.FailureActionObject.properties,
|
|
205
|
+
parameters: 'Parameters',
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
export const Arazzo1_1Types = {
|
|
209
|
+
...Arazzo1Types,
|
|
210
|
+
Root,
|
|
211
|
+
SourceDescriptions,
|
|
212
|
+
AsyncAPISourceDescription,
|
|
213
|
+
Parameter,
|
|
214
|
+
Step,
|
|
215
|
+
CriterionObject,
|
|
216
|
+
JSONPathExpression,
|
|
217
|
+
XPathExpression,
|
|
218
|
+
JSONPointerExpression,
|
|
219
|
+
ExpressionType,
|
|
220
|
+
SelectorObject,
|
|
221
|
+
Outputs,
|
|
222
|
+
Replacement,
|
|
223
|
+
SuccessActionObject,
|
|
224
|
+
FailureActionObject,
|
|
225
|
+
};
|
|
226
|
+
//# sourceMappingURL=arazzo1_1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arazzo1_1.js","sourceRoot":"","sources":["../../src/types/arazzo1_1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,IAAI,GAAa;IACrB,GAAG,YAAY,CAAC,IAAI;IACpB,UAAU,EAAE;QACV,GAAG,YAAY,CAAC,IAAI,CAAC,UAAU;QAC/B,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,wOAAwO;SAC3O;KACF;CACF,CAAC;AAEF,MAAM,kBAAkB,GAAa;IACnC,UAAU,EAAE,EAAE;IACd,KAAK,EAAE,CAAC,KAAU,EAAE,EAAE;QACpB,IAAI,KAAK,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,0BAA0B,CAAC;QACpC,CAAC;aAAM,IAAI,KAAK,EAAE,IAAI,KAAK,UAAU,EAAE,CAAC;YACtC,OAAO,2BAA2B,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,OAAO,yBAAyB,CAAC;QACnC,CAAC;IACH,CAAC;CACF,CAAC;AAEF,MAAM,yBAAyB,GAAa;IAC1C,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4QAA4Q;SAC1R;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC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UAAU,EAAE;QACV,GAAG,YAAY,CAAC,mBAAmB,CAAC,UAAU;QAC9C,UAAU,EAAE,YAAY;KACzB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA6B;IACtD,GAAG,YAAY;IACf,IAAI;IACJ,kBAAkB;IAClB,yBAAyB;IACzB,SAAS;IACT,IAAI;IACJ,eAAe;IACf,kBAAkB;IAClB,eAAe;IACf,qBAAqB;IACrB,cAAc;IACd,cAAc;IACd,OAAO;IACP,WAAW;IACX,mBAAmB;IACnB,mBAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type NodeType } from './index.js';
|
|
2
|
+
export declare const ServerBindings: NodeType;
|
|
3
|
+
export declare const ChannelBindings: NodeType;
|
|
4
|
+
export declare const OperationBindings: NodeType;
|
|
5
|
+
export declare const MessageBindings: NodeType;
|
|
6
|
+
export declare const AsyncApiBindings: Record<string, NodeType>;
|
|
7
|
+
export declare const Ros2Bindings: Record<string, NodeType>;
|
|
8
|
+
//# sourceMappingURL=asyncapi-bindings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asyncapi-bindings.d.ts","sourceRoot":"","sources":["../../src/types/asyncapi-bindings.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAi1BnD,eAAO,MAAM,cAAc,EAAE,QAqB5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,QAwB7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,QAqB/B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,QAqB7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAoHrD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAMjD,CAAC"}
|