@depup/redocly__openapi-core 2.22.1-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 +32 -0
- package/changes.json +14 -0
- package/lib/bundle/bundle-document.d.ts +33 -0
- package/lib/bundle/bundle-document.d.ts.map +1 -0
- package/lib/bundle/bundle-document.js +85 -0
- package/lib/bundle/bundle-document.js.map +1 -0
- package/lib/bundle/bundle-oas.d.ts +15 -0
- package/lib/bundle/bundle-oas.d.ts.map +1 -0
- package/lib/bundle/bundle-oas.js +55 -0
- package/lib/bundle/bundle-oas.js.map +1 -0
- package/lib/bundle/bundle-visitor.d.ts +15 -0
- package/lib/bundle/bundle-visitor.d.ts.map +1 -0
- package/lib/bundle/bundle-visitor.js +257 -0
- package/lib/bundle/bundle-visitor.js.map +1 -0
- package/lib/bundle/bundle.d.ts +26 -0
- package/lib/bundle/bundle.d.ts.map +1 -0
- package/lib/bundle/bundle.js +74 -0
- package/lib/bundle/bundle.js.map +1 -0
- package/lib/config/all.d.ts +4 -0
- package/lib/config/all.d.ts.map +1 -0
- package/lib/config/all.js +310 -0
- package/lib/config/all.js.map +1 -0
- package/lib/config/builtIn.d.ts +4 -0
- package/lib/config/builtIn.d.ts.map +1 -0
- package/lib/config/builtIn.js +58 -0
- package/lib/config/builtIn.js.map +1 -0
- package/lib/config/bundle-extends.d.ts +8 -0
- package/lib/config/bundle-extends.d.ts.map +1 -0
- package/lib/config/bundle-extends.js +27 -0
- package/lib/config/bundle-extends.js.map +1 -0
- package/lib/config/config-resolvers.d.ts +23 -0
- package/lib/config/config-resolvers.d.ts.map +1 -0
- package/lib/config/config-resolvers.js +335 -0
- package/lib/config/config-resolvers.js.map +1 -0
- package/lib/config/config.d.ts +47 -0
- package/lib/config/config.d.ts.map +1 -0
- package/lib/config/config.js +338 -0
- package/lib/config/config.js.map +1 -0
- package/lib/config/constants.d.ts +10 -0
- package/lib/config/constants.d.ts.map +1 -0
- package/lib/config/constants.js +13 -0
- package/lib/config/constants.js.map +1 -0
- package/lib/config/get-resolve-config.d.ts +3 -0
- package/lib/config/get-resolve-config.d.ts.map +1 -0
- package/lib/config/get-resolve-config.js +9 -0
- package/lib/config/get-resolve-config.js.map +1 -0
- package/lib/config/group-assertion-rules.d.ts +3 -0
- package/lib/config/group-assertion-rules.d.ts.map +1 -0
- package/lib/config/group-assertion-rules.js +51 -0
- package/lib/config/group-assertion-rules.js.map +1 -0
- package/lib/config/index.d.ts +8 -0
- package/lib/config/index.d.ts.map +1 -0
- package/lib/config/index.js +8 -0
- package/lib/config/index.js.map +1 -0
- package/lib/config/load.d.ts +19 -0
- package/lib/config/load.d.ts.map +1 -0
- package/lib/config/load.js +98 -0
- package/lib/config/load.js.map +1 -0
- package/lib/config/minimal.d.ts +4 -0
- package/lib/config/minimal.d.ts.map +1 -0
- package/lib/config/minimal.js +289 -0
- package/lib/config/minimal.js.map +1 -0
- package/lib/config/recommended-strict.d.ts +4 -0
- package/lib/config/recommended-strict.d.ts.map +1 -0
- package/lib/config/recommended-strict.js +289 -0
- package/lib/config/recommended-strict.js.map +1 -0
- package/lib/config/recommended.d.ts +4 -0
- package/lib/config/recommended.d.ts.map +1 -0
- package/lib/config/recommended.js +289 -0
- package/lib/config/recommended.js.map +1 -0
- package/lib/config/rules.d.ts +11 -0
- package/lib/config/rules.d.ts.map +1 -0
- package/lib/config/rules.js +35 -0
- package/lib/config/rules.js.map +1 -0
- package/lib/config/spec.d.ts +4 -0
- package/lib/config/spec.d.ts.map +1 -0
- package/lib/config/spec.js +289 -0
- package/lib/config/spec.js.map +1 -0
- package/lib/config/types.d.ts +158 -0
- package/lib/config/types.d.ts.map +1 -0
- package/lib/config/types.js +2 -0
- package/lib/config/types.js.map +1 -0
- package/lib/config/utils.d.ts +14 -0
- package/lib/config/utils.d.ts.map +1 -0
- package/lib/config/utils.js +129 -0
- package/lib/config/utils.js.map +1 -0
- package/lib/config/visitors.d.ts +50 -0
- package/lib/config/visitors.d.ts.map +1 -0
- package/lib/config/visitors.js +99 -0
- package/lib/config/visitors.js.map +1 -0
- package/lib/decorators/arazzo/index.d.ts +2 -0
- package/lib/decorators/arazzo/index.d.ts.map +1 -0
- package/lib/decorators/arazzo/index.js +2 -0
- package/lib/decorators/arazzo/index.js.map +1 -0
- package/lib/decorators/async2/index.d.ts +2 -0
- package/lib/decorators/async2/index.d.ts.map +1 -0
- package/lib/decorators/async2/index.js +2 -0
- package/lib/decorators/async2/index.js.map +1 -0
- package/lib/decorators/async3/index.d.ts +2 -0
- package/lib/decorators/async3/index.d.ts.map +1 -0
- package/lib/decorators/async3/index.js +2 -0
- package/lib/decorators/async3/index.js.map +1 -0
- package/lib/decorators/common/filters/filter-helper.d.ts +4 -0
- package/lib/decorators/common/filters/filter-helper.d.ts.map +1 -0
- package/lib/decorators/common/filters/filter-helper.js +65 -0
- package/lib/decorators/common/filters/filter-helper.js.map +1 -0
- package/lib/decorators/common/filters/filter-in.d.ts +3 -0
- package/lib/decorators/common/filters/filter-in.d.ts.map +1 -0
- package/lib/decorators/common/filters/filter-in.js +67 -0
- package/lib/decorators/common/filters/filter-in.js.map +1 -0
- package/lib/decorators/common/filters/filter-out.d.ts +3 -0
- package/lib/decorators/common/filters/filter-out.d.ts.map +1 -0
- package/lib/decorators/common/filters/filter-out.js +67 -0
- package/lib/decorators/common/filters/filter-out.js.map +1 -0
- package/lib/decorators/common/info-description-override.d.ts +3 -0
- package/lib/decorators/common/info-description-override.d.ts.map +1 -0
- package/lib/decorators/common/info-description-override.js +21 -0
- package/lib/decorators/common/info-description-override.js.map +1 -0
- package/lib/decorators/common/info-override.d.ts +3 -0
- package/lib/decorators/common/info-override.d.ts.map +1 -0
- package/lib/decorators/common/info-override.js +14 -0
- package/lib/decorators/common/info-override.js.map +1 -0
- package/lib/decorators/common/media-type-examples-override.d.ts +3 -0
- package/lib/decorators/common/media-type-examples-override.d.ts.map +1 -0
- package/lib/decorators/common/media-type-examples-override.js +58 -0
- package/lib/decorators/common/media-type-examples-override.js.map +1 -0
- package/lib/decorators/common/operation-description-override.d.ts +3 -0
- package/lib/decorators/common/operation-description-override.d.ts.map +1 -0
- package/lib/decorators/common/operation-description-override.js +27 -0
- package/lib/decorators/common/operation-description-override.js.map +1 -0
- package/lib/decorators/common/remove-x-internal.d.ts +3 -0
- package/lib/decorators/common/remove-x-internal.d.ts.map +1 -0
- package/lib/decorators/common/remove-x-internal.js +68 -0
- package/lib/decorators/common/remove-x-internal.js.map +1 -0
- package/lib/decorators/common/tag-description-override.d.ts +3 -0
- package/lib/decorators/common/tag-description-override.d.ts.map +1 -0
- package/lib/decorators/common/tag-description-override.js +23 -0
- package/lib/decorators/common/tag-description-override.js.map +1 -0
- package/lib/decorators/oas2/index.d.ts +12 -0
- package/lib/decorators/oas2/index.d.ts.map +1 -0
- package/lib/decorators/oas2/index.js +19 -0
- package/lib/decorators/oas2/index.js.map +1 -0
- package/lib/decorators/oas2/remove-unused-components.d.ts +3 -0
- package/lib/decorators/oas2/remove-unused-components.d.ts.map +1 -0
- package/lib/decorators/oas2/remove-unused-components.js +88 -0
- package/lib/decorators/oas2/remove-unused-components.js.map +1 -0
- package/lib/decorators/oas3/index.d.ts +13 -0
- package/lib/decorators/oas3/index.d.ts.map +1 -0
- package/lib/decorators/oas3/index.js +21 -0
- package/lib/decorators/oas3/index.js.map +1 -0
- package/lib/decorators/oas3/remove-unused-components.d.ts +3 -0
- package/lib/decorators/oas3/remove-unused-components.d.ts.map +1 -0
- package/lib/decorators/oas3/remove-unused-components.js +116 -0
- package/lib/decorators/oas3/remove-unused-components.js.map +1 -0
- package/lib/decorators/openrpc/index.d.ts +2 -0
- package/lib/decorators/openrpc/index.d.ts.map +1 -0
- package/lib/decorators/openrpc/index.js +2 -0
- package/lib/decorators/openrpc/index.js.map +1 -0
- package/lib/decorators/overlay1/index.d.ts +2 -0
- package/lib/decorators/overlay1/index.d.ts.map +1 -0
- package/lib/decorators/overlay1/index.js +2 -0
- package/lib/decorators/overlay1/index.js.map +1 -0
- package/lib/detect-spec.d.ts +5 -0
- package/lib/detect-spec.d.ts.map +1 -0
- package/lib/detect-spec.js +79 -0
- package/lib/detect-spec.js.map +1 -0
- package/lib/env.d.ts +3 -0
- package/lib/env.d.ts.map +1 -0
- package/lib/env.js +5 -0
- package/lib/env.js.map +1 -0
- package/lib/errors/yaml-parse-error.d.ts +9 -0
- package/lib/errors/yaml-parse-error.d.ts.map +1 -0
- package/lib/errors/yaml-parse-error.js +14 -0
- package/lib/errors/yaml-parse-error.js.map +1 -0
- package/lib/format/codeframes.d.ts +23 -0
- package/lib/format/codeframes.d.ts.map +1 -0
- package/lib/format/codeframes.js +177 -0
- package/lib/format/codeframes.js.map +1 -0
- package/lib/format/format.d.ts +23 -0
- package/lib/format/format.d.ts.map +1 -0
- package/lib/format/format.js +365 -0
- package/lib/format/format.js.map +1 -0
- package/lib/index.d.ts +58 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +49 -0
- package/lib/index.js.map +1 -0
- package/lib/js-yaml/index.d.ts +4 -0
- package/lib/js-yaml/index.d.ts.map +1 -0
- package/lib/js-yaml/index.js +11 -0
- package/lib/js-yaml/index.js.map +1 -0
- package/lib/lint-entity.d.ts +24 -0
- package/lib/lint-entity.d.ts.map +1 -0
- package/lib/lint-entity.js +171 -0
- package/lib/lint-entity.js.map +1 -0
- package/lib/lint.d.ts +31 -0
- package/lib/lint.d.ts.map +1 -0
- package/lib/lint.js +123 -0
- package/lib/lint.js.map +1 -0
- package/lib/logger.d.ts +26 -0
- package/lib/logger.d.ts.map +1 -0
- package/lib/logger.js +56 -0
- package/lib/logger.js.map +1 -0
- package/lib/oas-types.d.ts +877 -0
- package/lib/oas-types.d.ts.map +1 -0
- package/lib/oas-types.js +35 -0
- package/lib/oas-types.js.map +1 -0
- package/lib/ref-utils.d.ts +32 -0
- package/lib/ref-utils.d.ts.map +1 -0
- package/lib/ref-utils.js +109 -0
- package/lib/ref-utils.js.map +1 -0
- package/lib/resolve.d.ts +57 -0
- package/lib/resolve.d.ts.map +1 -0
- package/lib/resolve.js +326 -0
- package/lib/resolve.js.map +1 -0
- package/lib/rules/ajv.d.ts +20 -0
- package/lib/rules/ajv.d.ts.map +1 -0
- package/lib/rules/ajv.js +106 -0
- package/lib/rules/ajv.js.map +1 -0
- package/lib/rules/arazzo/criteria-unique.d.ts +3 -0
- package/lib/rules/arazzo/criteria-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/criteria-unique.js +68 -0
- package/lib/rules/arazzo/criteria-unique.js.map +1 -0
- package/lib/rules/arazzo/index.d.ts +4 -0
- package/lib/rules/arazzo/index.d.ts.map +1 -0
- package/lib/rules/arazzo/index.js +52 -0
- package/lib/rules/arazzo/index.js.map +1 -0
- package/lib/rules/arazzo/outputs-defined.d.ts +3 -0
- package/lib/rules/arazzo/outputs-defined.d.ts.map +1 -0
- package/lib/rules/arazzo/outputs-defined.js +139 -0
- package/lib/rules/arazzo/outputs-defined.js.map +1 -0
- package/lib/rules/arazzo/parameters-unique.d.ts +3 -0
- package/lib/rules/arazzo/parameters-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/parameters-unique.js +27 -0
- package/lib/rules/arazzo/parameters-unique.js.map +1 -0
- package/lib/rules/arazzo/requestBody-replacements-unique.d.ts +3 -0
- package/lib/rules/arazzo/requestBody-replacements-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/requestBody-replacements-unique.js +30 -0
- package/lib/rules/arazzo/requestBody-replacements-unique.js.map +1 -0
- package/lib/rules/arazzo/sourceDescription-type.d.ts +3 -0
- package/lib/rules/arazzo/sourceDescription-type.d.ts.map +1 -0
- package/lib/rules/arazzo/sourceDescription-type.js +19 -0
- package/lib/rules/arazzo/sourceDescription-type.js.map +1 -0
- package/lib/rules/arazzo/sourceDescriptions-name-unique.d.ts +3 -0
- package/lib/rules/arazzo/sourceDescriptions-name-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/sourceDescriptions-name-unique.js +21 -0
- package/lib/rules/arazzo/sourceDescriptions-name-unique.js.map +1 -0
- package/lib/rules/arazzo/sourceDescriptions-not-empty.d.ts +3 -0
- package/lib/rules/arazzo/sourceDescriptions-not-empty.d.ts.map +1 -0
- package/lib/rules/arazzo/sourceDescriptions-not-empty.js +15 -0
- package/lib/rules/arazzo/sourceDescriptions-not-empty.js.map +1 -0
- package/lib/rules/arazzo/step-onFailure-unique.d.ts +3 -0
- package/lib/rules/arazzo/step-onFailure-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/step-onFailure-unique.js +27 -0
- package/lib/rules/arazzo/step-onFailure-unique.js.map +1 -0
- package/lib/rules/arazzo/step-onSuccess-unique.d.ts +3 -0
- package/lib/rules/arazzo/step-onSuccess-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/step-onSuccess-unique.js +27 -0
- package/lib/rules/arazzo/step-onSuccess-unique.js.map +1 -0
- package/lib/rules/arazzo/stepId-unique.d.ts +3 -0
- package/lib/rules/arazzo/stepId-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/stepId-unique.js +23 -0
- package/lib/rules/arazzo/stepId-unique.js.map +1 -0
- package/lib/rules/arazzo/workflow-dependsOn.d.ts +3 -0
- package/lib/rules/arazzo/workflow-dependsOn.d.ts.map +1 -0
- package/lib/rules/arazzo/workflow-dependsOn.js +53 -0
- package/lib/rules/arazzo/workflow-dependsOn.js.map +1 -0
- package/lib/rules/arazzo/workflowId-unique.d.ts +3 -0
- package/lib/rules/arazzo/workflowId-unique.d.ts.map +1 -0
- package/lib/rules/arazzo/workflowId-unique.js +19 -0
- package/lib/rules/arazzo/workflowId-unique.js.map +1 -0
- package/lib/rules/async2/channels-kebab-case.d.ts +3 -0
- package/lib/rules/async2/channels-kebab-case.d.ts.map +1 -0
- package/lib/rules/async2/channels-kebab-case.js +16 -0
- package/lib/rules/async2/channels-kebab-case.js.map +1 -0
- package/lib/rules/async2/index.d.ts +4 -0
- package/lib/rules/async2/index.d.ts.map +1 -0
- package/lib/rules/async2/index.js +32 -0
- package/lib/rules/async2/index.js.map +1 -0
- package/lib/rules/async2/no-channel-trailing-slash.d.ts +3 -0
- package/lib/rules/async2/no-channel-trailing-slash.d.ts.map +1 -0
- package/lib/rules/async2/no-channel-trailing-slash.js +13 -0
- package/lib/rules/async2/no-channel-trailing-slash.js.map +1 -0
- package/lib/rules/async3/channels-kebab-case.d.ts +3 -0
- package/lib/rules/async3/channels-kebab-case.d.ts.map +1 -0
- package/lib/rules/async3/channels-kebab-case.js +16 -0
- package/lib/rules/async3/channels-kebab-case.js.map +1 -0
- package/lib/rules/async3/index.d.ts +4 -0
- package/lib/rules/async3/index.d.ts.map +1 -0
- package/lib/rules/async3/index.js +32 -0
- package/lib/rules/async3/index.js.map +1 -0
- package/lib/rules/async3/no-channel-trailing-slash.d.ts +3 -0
- package/lib/rules/async3/no-channel-trailing-slash.d.ts.map +1 -0
- package/lib/rules/async3/no-channel-trailing-slash.js +13 -0
- package/lib/rules/async3/no-channel-trailing-slash.js.map +1 -0
- package/lib/rules/catalog-entity/entity-key-valid.d.ts +3 -0
- package/lib/rules/catalog-entity/entity-key-valid.d.ts.map +1 -0
- package/lib/rules/catalog-entity/entity-key-valid.js +39 -0
- package/lib/rules/catalog-entity/entity-key-valid.js.map +1 -0
- package/lib/rules/common/assertions/asserts.d.ts +30 -0
- package/lib/rules/common/assertions/asserts.d.ts.map +1 -0
- package/lib/rules/common/assertions/asserts.js +272 -0
- package/lib/rules/common/assertions/asserts.js.map +1 -0
- package/lib/rules/common/assertions/index.d.ts +28 -0
- package/lib/rules/common/assertions/index.d.ts.map +1 -0
- package/lib/rules/common/assertions/index.js +22 -0
- package/lib/rules/common/assertions/index.js.map +1 -0
- package/lib/rules/common/assertions/utils.d.ts +21 -0
- package/lib/rules/common/assertions/utils.d.ts.map +1 -0
- package/lib/rules/common/assertions/utils.js +215 -0
- package/lib/rules/common/assertions/utils.js.map +1 -0
- package/lib/rules/common/info-contact.d.ts +3 -0
- package/lib/rules/common/info-contact.d.ts.map +1 -0
- package/lib/rules/common/info-contact.js +14 -0
- package/lib/rules/common/info-contact.js.map +1 -0
- package/lib/rules/common/info-license-strict.d.ts +3 -0
- package/lib/rules/common/info-license-strict.d.ts.map +1 -0
- package/lib/rules/common/info-license-strict.js +23 -0
- package/lib/rules/common/info-license-strict.js.map +1 -0
- package/lib/rules/common/info-license.d.ts +3 -0
- package/lib/rules/common/info-license.d.ts.map +1 -0
- package/lib/rules/common/info-license.js +14 -0
- package/lib/rules/common/info-license.js.map +1 -0
- package/lib/rules/common/no-ambiguous-paths.d.ts +3 -0
- package/lib/rules/common/no-ambiguous-paths.d.ts.map +1 -0
- package/lib/rules/common/no-ambiguous-paths.js +42 -0
- package/lib/rules/common/no-ambiguous-paths.js.map +1 -0
- package/lib/rules/common/no-duplicated-tag-names.d.ts +3 -0
- package/lib/rules/common/no-duplicated-tag-names.d.ts.map +1 -0
- package/lib/rules/common/no-duplicated-tag-names.js +21 -0
- package/lib/rules/common/no-duplicated-tag-names.js.map +1 -0
- package/lib/rules/common/no-enum-type-mismatch.d.ts +3 -0
- package/lib/rules/common/no-enum-type-mismatch.d.ts.map +1 -0
- package/lib/rules/common/no-enum-type-mismatch.js +38 -0
- package/lib/rules/common/no-enum-type-mismatch.js.map +1 -0
- package/lib/rules/common/no-http-verbs-in-paths.d.ts +3 -0
- package/lib/rules/common/no-http-verbs-in-paths.d.ts.map +1 -0
- package/lib/rules/common/no-http-verbs-in-paths.js +31 -0
- package/lib/rules/common/no-http-verbs-in-paths.js.map +1 -0
- package/lib/rules/common/no-identical-paths.d.ts +3 -0
- package/lib/rules/common/no-identical-paths.d.ts.map +1 -0
- package/lib/rules/common/no-identical-paths.js +21 -0
- package/lib/rules/common/no-identical-paths.js.map +1 -0
- package/lib/rules/common/no-invalid-parameter-examples.d.ts +2 -0
- package/lib/rules/common/no-invalid-parameter-examples.d.ts.map +1 -0
- package/lib/rules/common/no-invalid-parameter-examples.js +32 -0
- package/lib/rules/common/no-invalid-parameter-examples.js.map +1 -0
- package/lib/rules/common/no-invalid-schema-examples.d.ts +3 -0
- package/lib/rules/common/no-invalid-schema-examples.d.ts.map +1 -0
- package/lib/rules/common/no-invalid-schema-examples.js +34 -0
- package/lib/rules/common/no-invalid-schema-examples.js.map +1 -0
- package/lib/rules/common/no-path-trailing-slash.d.ts +3 -0
- package/lib/rules/common/no-path-trailing-slash.d.ts.map +1 -0
- package/lib/rules/common/no-path-trailing-slash.js +13 -0
- package/lib/rules/common/no-path-trailing-slash.js.map +1 -0
- package/lib/rules/common/no-required-schema-properties-undefined.d.ts +3 -0
- package/lib/rules/common/no-required-schema-properties-undefined.d.ts.map +1 -0
- package/lib/rules/common/no-required-schema-properties-undefined.js +78 -0
- package/lib/rules/common/no-required-schema-properties-undefined.js.map +1 -0
- package/lib/rules/common/no-schema-type-mismatch.d.ts +3 -0
- package/lib/rules/common/no-schema-type-mismatch.d.ts.map +1 -0
- package/lib/rules/common/no-schema-type-mismatch.js +19 -0
- package/lib/rules/common/no-schema-type-mismatch.js.map +1 -0
- package/lib/rules/common/no-unresolved-refs.d.ts +6 -0
- package/lib/rules/common/no-unresolved-refs.d.ts.map +1 -0
- package/lib/rules/common/no-unresolved-refs.js +42 -0
- package/lib/rules/common/no-unresolved-refs.js.map +1 -0
- package/lib/rules/common/operation-2xx-response.d.ts +3 -0
- package/lib/rules/common/operation-2xx-response.d.ts.map +1 -0
- package/lib/rules/common/operation-2xx-response.js +20 -0
- package/lib/rules/common/operation-2xx-response.js.map +1 -0
- package/lib/rules/common/operation-4xx-response.d.ts +3 -0
- package/lib/rules/common/operation-4xx-response.d.ts.map +1 -0
- package/lib/rules/common/operation-4xx-response.js +20 -0
- package/lib/rules/common/operation-4xx-response.js.map +1 -0
- package/lib/rules/common/operation-description.d.ts +3 -0
- package/lib/rules/common/operation-description.d.ts.map +1 -0
- package/lib/rules/common/operation-description.js +9 -0
- package/lib/rules/common/operation-description.js.map +1 -0
- package/lib/rules/common/operation-operationId-unique.d.ts +3 -0
- package/lib/rules/common/operation-operationId-unique.d.ts.map +1 -0
- package/lib/rules/common/operation-operationId-unique.js +17 -0
- package/lib/rules/common/operation-operationId-unique.js.map +1 -0
- package/lib/rules/common/operation-operationId-url-safe.d.ts +3 -0
- package/lib/rules/common/operation-operationId-url-safe.d.ts.map +1 -0
- package/lib/rules/common/operation-operationId-url-safe.js +15 -0
- package/lib/rules/common/operation-operationId-url-safe.js.map +1 -0
- package/lib/rules/common/operation-operationId.d.ts +3 -0
- package/lib/rules/common/operation-operationId.d.ts.map +1 -0
- package/lib/rules/common/operation-operationId.js +13 -0
- package/lib/rules/common/operation-operationId.js.map +1 -0
- package/lib/rules/common/operation-parameters-unique.d.ts +3 -0
- package/lib/rules/common/operation-parameters-unique.d.ts.map +1 -0
- package/lib/rules/common/operation-parameters-unique.js +37 -0
- package/lib/rules/common/operation-parameters-unique.js.map +1 -0
- package/lib/rules/common/operation-singular-tag.d.ts +3 -0
- package/lib/rules/common/operation-singular-tag.d.ts.map +1 -0
- package/lib/rules/common/operation-singular-tag.js +13 -0
- package/lib/rules/common/operation-singular-tag.js.map +1 -0
- package/lib/rules/common/operation-summary.d.ts +3 -0
- package/lib/rules/common/operation-summary.d.ts.map +1 -0
- package/lib/rules/common/operation-summary.js +9 -0
- package/lib/rules/common/operation-summary.js.map +1 -0
- package/lib/rules/common/operation-tag-defined.d.ts +3 -0
- package/lib/rules/common/operation-tag-defined.d.ts.map +1 -0
- package/lib/rules/common/operation-tag-defined.js +27 -0
- package/lib/rules/common/operation-tag-defined.js.map +1 -0
- package/lib/rules/common/parameter-description.d.ts +3 -0
- package/lib/rules/common/parameter-description.d.ts.map +1 -0
- package/lib/rules/common/parameter-description.js +19 -0
- package/lib/rules/common/parameter-description.js.map +1 -0
- package/lib/rules/common/path-declaration-must-exist.d.ts +3 -0
- package/lib/rules/common/path-declaration-must-exist.d.ts.map +1 -0
- package/lib/rules/common/path-declaration-must-exist.js +13 -0
- package/lib/rules/common/path-declaration-must-exist.js.map +1 -0
- package/lib/rules/common/path-http-verbs-order.d.ts +3 -0
- package/lib/rules/common/path-http-verbs-order.d.ts.map +1 -0
- package/lib/rules/common/path-http-verbs-order.js +23 -0
- package/lib/rules/common/path-http-verbs-order.js.map +1 -0
- package/lib/rules/common/path-not-include-query.d.ts +3 -0
- package/lib/rules/common/path-not-include-query.d.ts.map +1 -0
- package/lib/rules/common/path-not-include-query.js +15 -0
- package/lib/rules/common/path-not-include-query.js.map +1 -0
- package/lib/rules/common/path-params-defined.d.ts +3 -0
- package/lib/rules/common/path-params-defined.d.ts.map +1 -0
- package/lib/rules/common/path-params-defined.js +145 -0
- package/lib/rules/common/path-params-defined.js.map +1 -0
- package/lib/rules/common/path-segment-plural.d.ts +3 -0
- package/lib/rules/common/path-segment-plural.d.ts.map +1 -0
- package/lib/rules/common/path-segment-plural.js +30 -0
- package/lib/rules/common/path-segment-plural.js.map +1 -0
- package/lib/rules/common/paths-kebab-case.d.ts +3 -0
- package/lib/rules/common/paths-kebab-case.d.ts.map +1 -0
- package/lib/rules/common/paths-kebab-case.js +17 -0
- package/lib/rules/common/paths-kebab-case.js.map +1 -0
- package/lib/rules/common/required-string-property-missing-min-length.d.ts +3 -0
- package/lib/rules/common/required-string-property-missing-min-length.d.ts.map +1 -0
- package/lib/rules/common/required-string-property-missing-min-length.js +34 -0
- package/lib/rules/common/required-string-property-missing-min-length.js.map +1 -0
- package/lib/rules/common/response-contains-header.d.ts +3 -0
- package/lib/rules/common/response-contains-header.d.ts.map +1 -0
- package/lib/rules/common/response-contains-header.js +26 -0
- package/lib/rules/common/response-contains-header.js.map +1 -0
- package/lib/rules/common/scalar-property-missing-example.d.ts +3 -0
- package/lib/rules/common/scalar-property-missing-example.d.ts.map +1 -0
- package/lib/rules/common/scalar-property-missing-example.js +39 -0
- package/lib/rules/common/scalar-property-missing-example.js.map +1 -0
- package/lib/rules/common/security-defined.d.ts +3 -0
- package/lib/rules/common/security-defined.d.ts.map +1 -0
- package/lib/rules/common/security-defined.js +62 -0
- package/lib/rules/common/security-defined.js.map +1 -0
- package/lib/rules/common/spec-strict-refs.d.ts +3 -0
- package/lib/rules/common/spec-strict-refs.d.ts.map +1 -0
- package/lib/rules/common/spec-strict-refs.js +27 -0
- package/lib/rules/common/spec-strict-refs.js.map +1 -0
- package/lib/rules/common/struct.d.ts +3 -0
- package/lib/rules/common/struct.d.ts.map +1 -0
- package/lib/rules/common/struct.js +150 -0
- package/lib/rules/common/struct.js.map +1 -0
- package/lib/rules/common/tag-description.d.ts +3 -0
- package/lib/rules/common/tag-description.d.ts.map +1 -0
- package/lib/rules/common/tag-description.js +9 -0
- package/lib/rules/common/tag-description.js.map +1 -0
- package/lib/rules/common/tags-alphabetical.d.ts +3 -0
- package/lib/rules/common/tags-alphabetical.d.ts.map +1 -0
- package/lib/rules/common/tags-alphabetical.js +18 -0
- package/lib/rules/common/tags-alphabetical.js.map +1 -0
- package/lib/rules/oas2/boolean-parameter-prefixes.d.ts +6 -0
- package/lib/rules/oas2/boolean-parameter-prefixes.d.ts.map +1 -0
- package/lib/rules/oas2/boolean-parameter-prefixes.js +19 -0
- package/lib/rules/oas2/boolean-parameter-prefixes.js.map +1 -0
- package/lib/rules/oas2/index.d.ts +4 -0
- package/lib/rules/oas2/index.d.ts.map +1 -0
- package/lib/rules/oas2/index.js +93 -0
- package/lib/rules/oas2/index.js.map +1 -0
- package/lib/rules/oas2/request-mime-type.d.ts +3 -0
- package/lib/rules/oas2/request-mime-type.d.ts.map +1 -0
- package/lib/rules/oas2/request-mime-type.js +14 -0
- package/lib/rules/oas2/request-mime-type.js.map +1 -0
- package/lib/rules/oas2/response-contains-property.d.ts +3 -0
- package/lib/rules/oas2/response-contains-property.d.ts.map +1 -0
- package/lib/rules/oas2/response-contains-property.js +34 -0
- package/lib/rules/oas2/response-contains-property.js.map +1 -0
- package/lib/rules/oas2/response-mime-type.d.ts +3 -0
- package/lib/rules/oas2/response-mime-type.d.ts.map +1 -0
- package/lib/rules/oas2/response-mime-type.js +14 -0
- package/lib/rules/oas2/response-mime-type.js.map +1 -0
- package/lib/rules/oas3/array-parameter-serialization.d.ts +6 -0
- package/lib/rules/oas3/array-parameter-serialization.d.ts.map +1 -0
- package/lib/rules/oas3/array-parameter-serialization.js +26 -0
- package/lib/rules/oas3/array-parameter-serialization.js.map +1 -0
- package/lib/rules/oas3/boolean-parameter-prefixes.d.ts +6 -0
- package/lib/rules/oas3/boolean-parameter-prefixes.d.ts.map +1 -0
- package/lib/rules/oas3/boolean-parameter-prefixes.js +21 -0
- package/lib/rules/oas3/boolean-parameter-prefixes.js.map +1 -0
- package/lib/rules/oas3/component-name-unique.d.ts +3 -0
- package/lib/rules/oas3/component-name-unique.d.ts.map +1 -0
- package/lib/rules/oas3/component-name-unique.js +130 -0
- package/lib/rules/oas3/component-name-unique.js.map +1 -0
- package/lib/rules/oas3/index.d.ts +4 -0
- package/lib/rules/oas3/index.d.ts.map +1 -0
- package/lib/rules/oas3/index.js +129 -0
- package/lib/rules/oas3/index.js.map +1 -0
- package/lib/rules/oas3/no-empty-servers.d.ts +3 -0
- package/lib/rules/oas3/no-empty-servers.d.ts.map +1 -0
- package/lib/rules/oas3/no-empty-servers.js +20 -0
- package/lib/rules/oas3/no-empty-servers.js.map +1 -0
- package/lib/rules/oas3/no-example-value-and-externalValue.d.ts +3 -0
- package/lib/rules/oas3/no-example-value-and-externalValue.d.ts.map +1 -0
- package/lib/rules/oas3/no-example-value-and-externalValue.js +13 -0
- package/lib/rules/oas3/no-example-value-and-externalValue.js.map +1 -0
- package/lib/rules/oas3/no-invalid-media-type-examples.d.ts +3 -0
- package/lib/rules/oas3/no-invalid-media-type-examples.d.ts.map +1 -0
- package/lib/rules/oas3/no-invalid-media-type-examples.js +59 -0
- package/lib/rules/oas3/no-invalid-media-type-examples.js.map +1 -0
- package/lib/rules/oas3/no-server-example.com.d.ts +3 -0
- package/lib/rules/oas3/no-server-example.com.d.ts.map +1 -0
- package/lib/rules/oas3/no-server-example.com.js +15 -0
- package/lib/rules/oas3/no-server-example.com.js.map +1 -0
- package/lib/rules/oas3/no-server-trailing-slash.d.ts +3 -0
- package/lib/rules/oas3/no-server-trailing-slash.d.ts.map +1 -0
- package/lib/rules/oas3/no-server-trailing-slash.js +15 -0
- package/lib/rules/oas3/no-server-trailing-slash.js.map +1 -0
- package/lib/rules/oas3/no-server-variables-empty-enum.d.ts +3 -0
- package/lib/rules/oas3/no-server-variables-empty-enum.d.ts.map +1 -0
- package/lib/rules/oas3/no-server-variables-empty-enum.js +58 -0
- package/lib/rules/oas3/no-server-variables-empty-enum.js.map +1 -0
- package/lib/rules/oas3/no-undefined-server-variable.d.ts +3 -0
- package/lib/rules/oas3/no-undefined-server-variable.d.ts.map +1 -0
- package/lib/rules/oas3/no-undefined-server-variable.js +28 -0
- package/lib/rules/oas3/no-undefined-server-variable.js.map +1 -0
- package/lib/rules/oas3/no-unused-components.d.ts +3 -0
- package/lib/rules/oas3/no-unused-components.d.ts.map +1 -0
- package/lib/rules/oas3/no-unused-components.js +83 -0
- package/lib/rules/oas3/no-unused-components.js.map +1 -0
- package/lib/rules/oas3/nullable-type-sibling.d.ts +3 -0
- package/lib/rules/oas3/nullable-type-sibling.d.ts.map +1 -0
- package/lib/rules/oas3/nullable-type-sibling.js +15 -0
- package/lib/rules/oas3/nullable-type-sibling.js.map +1 -0
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.d.ts +6 -0
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.d.ts.map +1 -0
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +33 -0
- package/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js.map +1 -0
- package/lib/rules/oas3/request-mime-type.d.ts +3 -0
- package/lib/rules/oas3/request-mime-type.d.ts.map +1 -0
- package/lib/rules/oas3/request-mime-type.js +28 -0
- package/lib/rules/oas3/request-mime-type.js.map +1 -0
- package/lib/rules/oas3/response-contains-property.d.ts +3 -0
- package/lib/rules/oas3/response-contains-property.d.ts.map +1 -0
- package/lib/rules/oas3/response-contains-property.js +36 -0
- package/lib/rules/oas3/response-contains-property.js.map +1 -0
- package/lib/rules/oas3/response-mime-type.d.ts +3 -0
- package/lib/rules/oas3/response-mime-type.d.ts.map +1 -0
- package/lib/rules/oas3/response-mime-type.js +28 -0
- package/lib/rules/oas3/response-mime-type.js.map +1 -0
- package/lib/rules/oas3/spec-components-invalid-map-name.d.ts +3 -0
- package/lib/rules/oas3/spec-components-invalid-map-name.d.ts.map +1 -0
- package/lib/rules/oas3/spec-components-invalid-map-name.js +59 -0
- package/lib/rules/oas3/spec-components-invalid-map-name.js.map +1 -0
- package/lib/rules/oas3/spec-discriminator-defaultMapping.d.ts +3 -0
- package/lib/rules/oas3/spec-discriminator-defaultMapping.d.ts.map +1 -0
- package/lib/rules/oas3/spec-discriminator-defaultMapping.js +32 -0
- package/lib/rules/oas3/spec-discriminator-defaultMapping.js.map +1 -0
- package/lib/rules/oas3/spec-example-values.d.ts +3 -0
- package/lib/rules/oas3/spec-example-values.d.ts.map +1 -0
- package/lib/rules/oas3/spec-example-values.js +31 -0
- package/lib/rules/oas3/spec-example-values.js.map +1 -0
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.d.ts +3 -0
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.d.ts.map +1 -0
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +16 -0
- package/lib/rules/oas3/spec-no-invalid-encoding-combinations.js.map +1 -0
- package/lib/rules/oas3/spec-no-invalid-tag-parents.d.ts +3 -0
- package/lib/rules/oas3/spec-no-invalid-tag-parents.d.ts.map +1 -0
- package/lib/rules/oas3/spec-no-invalid-tag-parents.js +38 -0
- package/lib/rules/oas3/spec-no-invalid-tag-parents.js.map +1 -0
- package/lib/rules/oas3/spec-querystring-parameters.d.ts +3 -0
- package/lib/rules/oas3/spec-querystring-parameters.d.ts.map +1 -0
- package/lib/rules/oas3/spec-querystring-parameters.js +65 -0
- package/lib/rules/oas3/spec-querystring-parameters.js.map +1 -0
- package/lib/rules/openrpc/index.d.ts +4 -0
- package/lib/rules/openrpc/index.d.ts.map +1 -0
- package/lib/rules/openrpc/index.js +20 -0
- package/lib/rules/openrpc/index.js.map +1 -0
- package/lib/rules/openrpc/no-unused-components.d.ts +3 -0
- package/lib/rules/openrpc/no-unused-components.d.ts.map +1 -0
- package/lib/rules/openrpc/no-unused-components.js +82 -0
- package/lib/rules/openrpc/no-unused-components.js.map +1 -0
- package/lib/rules/openrpc/spec-no-duplicated-method-params.d.ts +3 -0
- package/lib/rules/openrpc/spec-no-duplicated-method-params.d.ts.map +1 -0
- package/lib/rules/openrpc/spec-no-duplicated-method-params.js +28 -0
- package/lib/rules/openrpc/spec-no-duplicated-method-params.js.map +1 -0
- package/lib/rules/openrpc/spec-no-required-params-after-optional.d.ts +3 -0
- package/lib/rules/openrpc/spec-no-required-params-after-optional.d.ts.map +1 -0
- package/lib/rules/openrpc/spec-no-required-params-after-optional.js +31 -0
- package/lib/rules/openrpc/spec-no-required-params-after-optional.js.map +1 -0
- package/lib/rules/other/stats.d.ts +104 -0
- package/lib/rules/other/stats.d.ts.map +1 -0
- package/lib/rules/other/stats.js +190 -0
- package/lib/rules/other/stats.js.map +1 -0
- package/lib/rules/overlay1/index.d.ts +4 -0
- package/lib/rules/overlay1/index.d.ts.map +1 -0
- package/lib/rules/overlay1/index.js +12 -0
- package/lib/rules/overlay1/index.js.map +1 -0
- package/lib/rules/respect/no-criteria-xpath.d.ts +3 -0
- package/lib/rules/respect/no-criteria-xpath.d.ts.map +1 -0
- package/lib/rules/respect/no-criteria-xpath.js +20 -0
- package/lib/rules/respect/no-criteria-xpath.js.map +1 -0
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.d.ts +3 -0
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.d.ts.map +1 -0
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +30 -0
- package/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js.map +1 -0
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.d.ts +3 -0
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.d.ts.map +1 -0
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +25 -0
- package/lib/rules/respect/no-x-security-scheme-name-without-openapi.js.map +1 -0
- package/lib/rules/respect/respect-supported-versions.d.ts +3 -0
- package/lib/rules/respect/respect-supported-versions.d.ts.map +1 -0
- package/lib/rules/respect/respect-supported-versions.js +18 -0
- package/lib/rules/respect/respect-supported-versions.js.map +1 -0
- package/lib/rules/respect/x-security-scheme-name-reference.d.ts +3 -0
- package/lib/rules/respect/x-security-scheme-name-reference.d.ts.map +1 -0
- package/lib/rules/respect/x-security-scheme-name-reference.js +35 -0
- package/lib/rules/respect/x-security-scheme-name-reference.js.map +1 -0
- package/lib/rules/respect/x-security-scheme-required-values.d.ts +3 -0
- package/lib/rules/respect/x-security-scheme-required-values.d.ts.map +1 -0
- package/lib/rules/respect/x-security-scheme-required-values.js +60 -0
- package/lib/rules/respect/x-security-scheme-required-values.js.map +1 -0
- package/lib/rules/utils.d.ts +30 -0
- package/lib/rules/utils.d.ts.map +1 -0
- package/lib/rules/utils.js +172 -0
- package/lib/rules/utils.js.map +1 -0
- package/lib/types/arazzo.d.ts +3 -0
- package/lib/types/arazzo.d.ts.map +1 -0
- package/lib/types/arazzo.js +482 -0
- package/lib/types/arazzo.js.map +1 -0
- package/lib/types/asyncapi2.d.ts +13 -0
- package/lib/types/asyncapi2.d.ts.map +1 -0
- package/lib/types/asyncapi2.js +1157 -0
- package/lib/types/asyncapi2.js.map +1 -0
- package/lib/types/asyncapi3.d.ts +3 -0
- package/lib/types/asyncapi3.d.ts.map +1 -0
- package/lib/types/asyncapi3.js +511 -0
- package/lib/types/asyncapi3.js.map +1 -0
- package/lib/types/entity.d.ts +9 -0
- package/lib/types/entity.d.ts.map +1 -0
- package/lib/types/entity.js +32 -0
- package/lib/types/entity.js.map +1 -0
- package/lib/types/index.d.ts +78 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +90 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/json-schema-adapter.d.ts +12 -0
- package/lib/types/json-schema-adapter.d.ts.map +1 -0
- package/lib/types/json-schema-adapter.js +181 -0
- package/lib/types/json-schema-adapter.js.map +1 -0
- package/lib/types/json-schema-draft7.shared.d.ts +7 -0
- package/lib/types/json-schema-draft7.shared.d.ts.map +1 -0
- package/lib/types/json-schema-draft7.shared.js +101 -0
- package/lib/types/json-schema-draft7.shared.js.map +1 -0
- package/lib/types/oas2.d.ts +107 -0
- package/lib/types/oas2.d.ts.map +1 -0
- package/lib/types/oas2.js +454 -0
- package/lib/types/oas2.js.map +1 -0
- package/lib/types/oas3.d.ts +198 -0
- package/lib/types/oas3.d.ts.map +1 -0
- package/lib/types/oas3.js +828 -0
- package/lib/types/oas3.js.map +1 -0
- package/lib/types/oas3_1.d.ts +207 -0
- package/lib/types/oas3_1.d.ts.map +1 -0
- package/lib/types/oas3_1.js +292 -0
- package/lib/types/oas3_1.js.map +1 -0
- package/lib/types/oas3_2.d.ts +215 -0
- package/lib/types/oas3_2.d.ts.map +1 -0
- package/lib/types/oas3_2.js +306 -0
- package/lib/types/oas3_2.js.map +1 -0
- package/lib/types/openrpc.d.ts +136 -0
- package/lib/types/openrpc.d.ts.map +1 -0
- package/lib/types/openrpc.js +360 -0
- package/lib/types/openrpc.js.map +1 -0
- package/lib/types/overlay.d.ts +3 -0
- package/lib/types/overlay.d.ts.map +1 -0
- package/lib/types/overlay.js +61 -0
- package/lib/types/overlay.js.map +1 -0
- package/lib/types/redocly-yaml.d.ts +29 -0
- package/lib/types/redocly-yaml.d.ts.map +1 -0
- package/lib/types/redocly-yaml.js +573 -0
- package/lib/types/redocly-yaml.js.map +1 -0
- package/lib/typings/arazzo.d.ts +172 -0
- package/lib/typings/arazzo.d.ts.map +1 -0
- package/lib/typings/arazzo.js +3 -0
- package/lib/typings/arazzo.js.map +1 -0
- package/lib/typings/asyncapi.d.ts +22 -0
- package/lib/typings/asyncapi.d.ts.map +1 -0
- package/lib/typings/asyncapi.js +2 -0
- package/lib/typings/asyncapi.js.map +1 -0
- package/lib/typings/asyncapi3.d.ts +54 -0
- package/lib/typings/asyncapi3.d.ts.map +1 -0
- package/lib/typings/asyncapi3.js +2 -0
- package/lib/typings/asyncapi3.js.map +1 -0
- package/lib/typings/common.d.ts +13 -0
- package/lib/typings/common.d.ts.map +1 -0
- package/lib/typings/common.js +2 -0
- package/lib/typings/common.js.map +1 -0
- package/lib/typings/openapi.d.ts +420 -0
- package/lib/typings/openapi.d.ts.map +1 -0
- package/lib/typings/openapi.js +2 -0
- package/lib/typings/openapi.js.map +1 -0
- package/lib/typings/openrpc.d.ts +110 -0
- package/lib/typings/openrpc.d.ts.map +1 -0
- package/lib/typings/openrpc.js +2 -0
- package/lib/typings/openrpc.js.map +1 -0
- package/lib/typings/overlay.d.ts +18 -0
- package/lib/typings/overlay.d.ts.map +1 -0
- package/lib/typings/overlay.js +2 -0
- package/lib/typings/overlay.js.map +1 -0
- package/lib/typings/swagger.d.ts +218 -0
- package/lib/typings/swagger.d.ts.map +1 -0
- package/lib/typings/swagger.js +2 -0
- package/lib/typings/swagger.js.map +1 -0
- package/lib/utils/assign-config.d.ts +7 -0
- package/lib/utils/assign-config.d.ts.map +1 -0
- package/lib/utils/assign-config.js +28 -0
- package/lib/utils/assign-config.js.map +1 -0
- package/lib/utils/dequal.d.ts +6 -0
- package/lib/utils/dequal.d.ts.map +1 -0
- package/lib/utils/dequal.js +36 -0
- package/lib/utils/dequal.js.map +1 -0
- package/lib/utils/does-yaml-file-exist.d.ts +2 -0
- package/lib/utils/does-yaml-file-exist.d.ts.map +1 -0
- package/lib/utils/does-yaml-file-exist.js +7 -0
- package/lib/utils/does-yaml-file-exist.js.map +1 -0
- package/lib/utils/error.d.ts +3 -0
- package/lib/utils/error.d.ts.map +1 -0
- package/lib/utils/error.js +3 -0
- package/lib/utils/error.js.map +1 -0
- package/lib/utils/get-intersection-length.d.ts +2 -0
- package/lib/utils/get-intersection-length.d.ts.map +1 -0
- package/lib/utils/get-intersection-length.js +11 -0
- package/lib/utils/get-intersection-length.js.map +1 -0
- package/lib/utils/get-matching-status-code-range.d.ts +2 -0
- package/lib/utils/get-matching-status-code-range.d.ts.map +1 -0
- package/lib/utils/get-matching-status-code-range.js +4 -0
- package/lib/utils/get-matching-status-code-range.js.map +1 -0
- package/lib/utils/get-own.d.ts +2 -0
- package/lib/utils/get-own.d.ts.map +1 -0
- package/lib/utils/get-own.js +4 -0
- package/lib/utils/get-own.js.map +1 -0
- package/lib/utils/identity.d.ts +2 -0
- package/lib/utils/identity.d.ts.map +1 -0
- package/lib/utils/identity.js +4 -0
- package/lib/utils/identity.js.map +1 -0
- package/lib/utils/is-custom-rule-id.d.ts +2 -0
- package/lib/utils/is-custom-rule-id.d.ts.map +1 -0
- package/lib/utils/is-custom-rule-id.js +4 -0
- package/lib/utils/is-custom-rule-id.js.map +1 -0
- package/lib/utils/is-defined.d.ts +2 -0
- package/lib/utils/is-defined.d.ts.map +1 -0
- package/lib/utils/is-defined.js +4 -0
- package/lib/utils/is-defined.js.map +1 -0
- package/lib/utils/is-empty-array.d.ts +2 -0
- package/lib/utils/is-empty-array.d.ts.map +1 -0
- package/lib/utils/is-empty-array.js +4 -0
- package/lib/utils/is-empty-array.js.map +1 -0
- package/lib/utils/is-empty-object.d.ts +2 -0
- package/lib/utils/is-empty-object.d.ts.map +1 -0
- package/lib/utils/is-empty-object.js +5 -0
- package/lib/utils/is-empty-object.js.map +1 -0
- package/lib/utils/is-not-empty-array.d.ts +2 -0
- package/lib/utils/is-not-empty-array.d.ts.map +1 -0
- package/lib/utils/is-not-empty-array.js +4 -0
- package/lib/utils/is-not-empty-array.js.map +1 -0
- package/lib/utils/is-not-empty-object.d.ts +2 -0
- package/lib/utils/is-not-empty-object.d.ts.map +1 -0
- package/lib/utils/is-not-empty-object.js +6 -0
- package/lib/utils/is-not-empty-object.js.map +1 -0
- package/lib/utils/is-not-string.d.ts +2 -0
- package/lib/utils/is-not-string.d.ts.map +1 -0
- package/lib/utils/is-not-string.js +5 -0
- package/lib/utils/is-not-string.js.map +1 -0
- package/lib/utils/is-ordered.d.ts +7 -0
- package/lib/utils/is-ordered.d.ts.map +1 -0
- package/lib/utils/is-ordered.js +27 -0
- package/lib/utils/is-ordered.js.map +1 -0
- package/lib/utils/is-path-parameter.d.ts +2 -0
- package/lib/utils/is-path-parameter.d.ts.map +1 -0
- package/lib/utils/is-path-parameter.js +4 -0
- package/lib/utils/is-path-parameter.js.map +1 -0
- package/lib/utils/is-plain-object.d.ts +2 -0
- package/lib/utils/is-plain-object.d.ts.map +1 -0
- package/lib/utils/is-plain-object.js +4 -0
- package/lib/utils/is-plain-object.js.map +1 -0
- package/lib/utils/is-string.d.ts +2 -0
- package/lib/utils/is-string.d.ts.map +1 -0
- package/lib/utils/is-string.js +4 -0
- package/lib/utils/is-string.js.map +1 -0
- package/lib/utils/is-truthy.d.ts +3 -0
- package/lib/utils/is-truthy.d.ts.map +1 -0
- package/lib/utils/is-truthy.js +4 -0
- package/lib/utils/is-truthy.js.map +1 -0
- package/lib/utils/keys-of.d.ts +2 -0
- package/lib/utils/keys-of.d.ts.map +1 -0
- package/lib/utils/keys-of.js +6 -0
- package/lib/utils/keys-of.js.map +1 -0
- package/lib/utils/make-ref-id.d.ts +2 -0
- package/lib/utils/make-ref-id.d.ts.map +1 -0
- package/lib/utils/make-ref-id.js +4 -0
- package/lib/utils/make-ref-id.js.map +1 -0
- package/lib/utils/next-tick.d.ts +2 -0
- package/lib/utils/next-tick.d.ts.map +1 -0
- package/lib/utils/next-tick.js +6 -0
- package/lib/utils/next-tick.js.map +1 -0
- package/lib/utils/oas-has-component.d.ts +3 -0
- package/lib/utils/oas-has-component.d.ts.map +1 -0
- package/lib/utils/oas-has-component.js +4 -0
- package/lib/utils/oas-has-component.js.map +1 -0
- package/lib/utils/omit.d.ts +2 -0
- package/lib/utils/omit.d.ts.map +1 -0
- package/lib/utils/omit.js +8 -0
- package/lib/utils/omit.js.map +1 -0
- package/lib/utils/pause.d.ts +2 -0
- package/lib/utils/pause.d.ts.map +1 -0
- package/lib/utils/pause.js +4 -0
- package/lib/utils/pause.js.map +1 -0
- package/lib/utils/pluralize.d.ts +2 -0
- package/lib/utils/pluralize.d.ts.map +1 -0
- package/lib/utils/pluralize.js +8 -0
- package/lib/utils/pluralize.js.map +1 -0
- package/lib/utils/read-file-from-url.d.ts +6 -0
- package/lib/utils/read-file-from-url.d.ts.map +1 -0
- package/lib/utils/read-file-from-url.js +26 -0
- package/lib/utils/read-file-from-url.js.map +1 -0
- package/lib/utils/regex-from-string.d.ts +2 -0
- package/lib/utils/regex-from-string.d.ts.map +1 -0
- package/lib/utils/regex-from-string.js +5 -0
- package/lib/utils/regex-from-string.js.map +1 -0
- package/lib/utils/scorecards.d.ts +13 -0
- package/lib/utils/scorecards.d.ts.map +1 -0
- package/lib/utils/scorecards.js +99 -0
- package/lib/utils/scorecards.js.map +1 -0
- package/lib/utils/slash.d.ts +5 -0
- package/lib/utils/slash.d.ts.map +1 -0
- package/lib/utils/slash.js +11 -0
- package/lib/utils/slash.js.map +1 -0
- package/lib/utils/split-camel-case-into-words.d.ts +2 -0
- package/lib/utils/split-camel-case-into-words.d.ts.map +1 -0
- package/lib/utils/split-camel-case-into-words.js +13 -0
- package/lib/utils/split-camel-case-into-words.js.map +1 -0
- package/lib/utils/stack.d.ts +12 -0
- package/lib/utils/stack.d.ts.map +1 -0
- package/lib/utils/stack.js +7 -0
- package/lib/utils/stack.js.map +1 -0
- package/lib/utils/types.d.ts +5 -0
- package/lib/utils/types.d.ts.map +1 -0
- package/lib/utils/types.js +2 -0
- package/lib/utils/types.js.map +1 -0
- package/lib/utils/validate-mime-type.d.ts +4 -0
- package/lib/utils/validate-mime-type.d.ts.map +1 -0
- package/lib/utils/validate-mime-type.js +31 -0
- package/lib/utils/validate-mime-type.js.map +1 -0
- package/lib/utils/yaml-fs-helper.d.ts +6 -0
- package/lib/utils/yaml-fs-helper.d.ts.map +1 -0
- package/lib/utils/yaml-fs-helper.js +23 -0
- package/lib/utils/yaml-fs-helper.js.map +1 -0
- package/lib/visitors.d.ts +279 -0
- package/lib/visitors.d.ts.map +1 -0
- package/lib/visitors.js +177 -0
- package/lib/visitors.js.map +1 -0
- package/lib/walk.d.ts +81 -0
- package/lib/walk.d.ts.map +1 -0
- package/lib/walk.js +303 -0
- package/lib/walk.js.map +1 -0
- package/package.json +95 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { type NodeType } from './index.js';
|
|
2
|
+
export declare const Oas3_2Types: {
|
|
3
|
+
readonly Root: NodeType;
|
|
4
|
+
readonly Tag: NodeType;
|
|
5
|
+
readonly Server: NodeType;
|
|
6
|
+
readonly SecurityScheme: NodeType;
|
|
7
|
+
readonly OAuth2Flows: NodeType;
|
|
8
|
+
readonly DeviceAuthorization: NodeType;
|
|
9
|
+
readonly PathItem: NodeType;
|
|
10
|
+
readonly Parameter: NodeType;
|
|
11
|
+
readonly Response: Omit<NodeType, "required">;
|
|
12
|
+
readonly MediaType: NodeType;
|
|
13
|
+
readonly Discriminator: NodeType;
|
|
14
|
+
readonly Example: NodeType;
|
|
15
|
+
readonly Xml: NodeType;
|
|
16
|
+
readonly Schema: NodeType;
|
|
17
|
+
readonly Components: NodeType;
|
|
18
|
+
readonly NamedMediaTypes: {
|
|
19
|
+
description?: string;
|
|
20
|
+
documentationLink?: string;
|
|
21
|
+
name: string;
|
|
22
|
+
properties: {};
|
|
23
|
+
additionalProperties: () => string;
|
|
24
|
+
};
|
|
25
|
+
readonly Info: NodeType;
|
|
26
|
+
readonly SchemaProperties: NodeType;
|
|
27
|
+
readonly PatternProperties: NodeType;
|
|
28
|
+
readonly License: NodeType;
|
|
29
|
+
readonly NamedPathItems: {
|
|
30
|
+
description?: string;
|
|
31
|
+
documentationLink?: string;
|
|
32
|
+
name: string;
|
|
33
|
+
properties: {};
|
|
34
|
+
additionalProperties: () => string;
|
|
35
|
+
};
|
|
36
|
+
readonly Operation: NodeType;
|
|
37
|
+
readonly DependentRequired: NodeType;
|
|
38
|
+
readonly TagList: {
|
|
39
|
+
description?: string;
|
|
40
|
+
documentationLink?: string;
|
|
41
|
+
name: string;
|
|
42
|
+
properties: {};
|
|
43
|
+
items: string;
|
|
44
|
+
};
|
|
45
|
+
readonly TagGroups: {
|
|
46
|
+
description?: string;
|
|
47
|
+
documentationLink?: string;
|
|
48
|
+
name: string;
|
|
49
|
+
properties: {};
|
|
50
|
+
items: string;
|
|
51
|
+
};
|
|
52
|
+
readonly TagGroup: NodeType;
|
|
53
|
+
readonly ExternalDocs: NodeType;
|
|
54
|
+
readonly ServerList: {
|
|
55
|
+
description?: string;
|
|
56
|
+
documentationLink?: string;
|
|
57
|
+
name: string;
|
|
58
|
+
properties: {};
|
|
59
|
+
items: string;
|
|
60
|
+
};
|
|
61
|
+
readonly ServerVariable: NodeType;
|
|
62
|
+
readonly ServerVariablesMap: {
|
|
63
|
+
description?: string;
|
|
64
|
+
documentationLink?: string;
|
|
65
|
+
name: string;
|
|
66
|
+
properties: {};
|
|
67
|
+
additionalProperties: () => string;
|
|
68
|
+
};
|
|
69
|
+
readonly SecurityRequirement: NodeType;
|
|
70
|
+
readonly SecurityRequirementList: {
|
|
71
|
+
description?: string;
|
|
72
|
+
documentationLink?: string;
|
|
73
|
+
name: string;
|
|
74
|
+
properties: {};
|
|
75
|
+
items: string;
|
|
76
|
+
};
|
|
77
|
+
readonly Contact: NodeType;
|
|
78
|
+
readonly Paths: NodeType;
|
|
79
|
+
readonly ParameterList: {
|
|
80
|
+
description?: string;
|
|
81
|
+
documentationLink?: string;
|
|
82
|
+
name: string;
|
|
83
|
+
properties: {};
|
|
84
|
+
items: string;
|
|
85
|
+
};
|
|
86
|
+
readonly Callback: {
|
|
87
|
+
description?: string;
|
|
88
|
+
documentationLink?: string;
|
|
89
|
+
name: string;
|
|
90
|
+
properties: {};
|
|
91
|
+
additionalProperties: () => string;
|
|
92
|
+
};
|
|
93
|
+
readonly CallbacksMap: {
|
|
94
|
+
description?: string;
|
|
95
|
+
documentationLink?: string;
|
|
96
|
+
name: string;
|
|
97
|
+
properties: {};
|
|
98
|
+
additionalProperties: () => string;
|
|
99
|
+
};
|
|
100
|
+
readonly RequestBody: NodeType;
|
|
101
|
+
readonly MediaTypesMap: NodeType;
|
|
102
|
+
readonly ExamplesMap: {
|
|
103
|
+
description?: string;
|
|
104
|
+
documentationLink?: string;
|
|
105
|
+
name: string;
|
|
106
|
+
properties: {};
|
|
107
|
+
additionalProperties: () => string;
|
|
108
|
+
};
|
|
109
|
+
readonly Encoding: NodeType;
|
|
110
|
+
readonly EncodingMap: {
|
|
111
|
+
description?: string;
|
|
112
|
+
documentationLink?: string;
|
|
113
|
+
name: string;
|
|
114
|
+
properties: {};
|
|
115
|
+
additionalProperties: () => string;
|
|
116
|
+
};
|
|
117
|
+
readonly EnumDescriptions: NodeType;
|
|
118
|
+
readonly Header: NodeType;
|
|
119
|
+
readonly HeadersMap: {
|
|
120
|
+
description?: string;
|
|
121
|
+
documentationLink?: string;
|
|
122
|
+
name: string;
|
|
123
|
+
properties: {};
|
|
124
|
+
additionalProperties: () => string;
|
|
125
|
+
};
|
|
126
|
+
readonly Responses: NodeType;
|
|
127
|
+
readonly Link: NodeType;
|
|
128
|
+
readonly Logo: NodeType;
|
|
129
|
+
readonly DiscriminatorMapping: NodeType;
|
|
130
|
+
readonly LinksMap: {
|
|
131
|
+
description?: string;
|
|
132
|
+
documentationLink?: string;
|
|
133
|
+
name: string;
|
|
134
|
+
properties: {};
|
|
135
|
+
additionalProperties: () => string;
|
|
136
|
+
};
|
|
137
|
+
readonly NamedSchemas: {
|
|
138
|
+
description?: string;
|
|
139
|
+
documentationLink?: string;
|
|
140
|
+
name: string;
|
|
141
|
+
properties: {};
|
|
142
|
+
additionalProperties: () => string;
|
|
143
|
+
};
|
|
144
|
+
readonly NamedResponses: {
|
|
145
|
+
description?: string;
|
|
146
|
+
documentationLink?: string;
|
|
147
|
+
name: string;
|
|
148
|
+
properties: {};
|
|
149
|
+
additionalProperties: () => string;
|
|
150
|
+
};
|
|
151
|
+
readonly NamedParameters: {
|
|
152
|
+
description?: string;
|
|
153
|
+
documentationLink?: string;
|
|
154
|
+
name: string;
|
|
155
|
+
properties: {};
|
|
156
|
+
additionalProperties: () => string;
|
|
157
|
+
};
|
|
158
|
+
readonly NamedExamples: {
|
|
159
|
+
description?: string;
|
|
160
|
+
documentationLink?: string;
|
|
161
|
+
name: string;
|
|
162
|
+
properties: {};
|
|
163
|
+
additionalProperties: () => string;
|
|
164
|
+
};
|
|
165
|
+
readonly NamedRequestBodies: {
|
|
166
|
+
description?: string;
|
|
167
|
+
documentationLink?: string;
|
|
168
|
+
name: string;
|
|
169
|
+
properties: {};
|
|
170
|
+
additionalProperties: () => string;
|
|
171
|
+
};
|
|
172
|
+
readonly NamedHeaders: {
|
|
173
|
+
description?: string;
|
|
174
|
+
documentationLink?: string;
|
|
175
|
+
name: string;
|
|
176
|
+
properties: {};
|
|
177
|
+
additionalProperties: () => string;
|
|
178
|
+
};
|
|
179
|
+
readonly NamedSecuritySchemes: {
|
|
180
|
+
description?: string;
|
|
181
|
+
documentationLink?: string;
|
|
182
|
+
name: string;
|
|
183
|
+
properties: {};
|
|
184
|
+
additionalProperties: () => string;
|
|
185
|
+
};
|
|
186
|
+
readonly NamedLinks: {
|
|
187
|
+
description?: string;
|
|
188
|
+
documentationLink?: string;
|
|
189
|
+
name: string;
|
|
190
|
+
properties: {};
|
|
191
|
+
additionalProperties: () => string;
|
|
192
|
+
};
|
|
193
|
+
readonly NamedCallbacks: {
|
|
194
|
+
description?: string;
|
|
195
|
+
documentationLink?: string;
|
|
196
|
+
name: string;
|
|
197
|
+
properties: {};
|
|
198
|
+
additionalProperties: () => string;
|
|
199
|
+
};
|
|
200
|
+
readonly ImplicitFlow: NodeType;
|
|
201
|
+
readonly PasswordFlow: NodeType;
|
|
202
|
+
readonly ClientCredentials: NodeType;
|
|
203
|
+
readonly AuthorizationCode: NodeType;
|
|
204
|
+
readonly XCodeSample: NodeType;
|
|
205
|
+
readonly XCodeSampleList: {
|
|
206
|
+
description?: string;
|
|
207
|
+
documentationLink?: string;
|
|
208
|
+
name: string;
|
|
209
|
+
properties: {};
|
|
210
|
+
items: string;
|
|
211
|
+
};
|
|
212
|
+
readonly XUsePkce: NodeType;
|
|
213
|
+
readonly WebhooksMap: NodeType;
|
|
214
|
+
};
|
|
215
|
+
//# sourceMappingURL=oas3_2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oas3_2.d.ts","sourceRoot":"","sources":["../../src/types/oas3_2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAkU1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBd,CAAC"}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { listOf, mapOf } from './index.js';
|
|
2
|
+
import { Oas3Types } from './oas3.js';
|
|
3
|
+
import { Oas3_1Types } from './oas3_1.js';
|
|
4
|
+
const Root = {
|
|
5
|
+
...Oas3_1Types.Root,
|
|
6
|
+
properties: {
|
|
7
|
+
...Oas3_1Types.Root.properties,
|
|
8
|
+
$self: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
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. Implementations MUST support identifying the targets of API description URIs using the URI defined by this field when it is present. See Establishing the Base URI for the base URI behavior when $self is absent or relative, and see Appendix F for examples of using $self to resolve references.',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
const Tag = {
|
|
15
|
+
...Oas3_1Types.Tag,
|
|
16
|
+
properties: {
|
|
17
|
+
...Oas3_1Types.Tag.properties,
|
|
18
|
+
kind: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
description: 'A machine-readable string to categorize what sort of tag it is. Any string value can be used; common uses are nav for Navigation, badge for visible badges, audience for APIs used by different groups. A registry of the most commonly used values is available.',
|
|
21
|
+
},
|
|
22
|
+
parent: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: 'The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references between parent and child tags MUST NOT be used.',
|
|
25
|
+
},
|
|
26
|
+
summary: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: 'A short summary of the tag, used for display purposes.',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.',
|
|
32
|
+
};
|
|
33
|
+
const Server = {
|
|
34
|
+
...Oas3_1Types.Server,
|
|
35
|
+
properties: {
|
|
36
|
+
...Oas3_1Types.Server.properties,
|
|
37
|
+
name: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
description: 'An optional unique string to refer to the host designated by the URL.',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
description: 'An object representing a Server.',
|
|
43
|
+
};
|
|
44
|
+
const SecurityScheme = {
|
|
45
|
+
...Oas3_1Types.SecurityScheme,
|
|
46
|
+
properties: {
|
|
47
|
+
...Oas3_1Types.SecurityScheme.properties,
|
|
48
|
+
deprecated: {
|
|
49
|
+
type: 'boolean',
|
|
50
|
+
description: 'Declares this security scheme to be deprecated. Consumers SHOULD refrain from usage of the declared scheme. Default value is false.',
|
|
51
|
+
}, // added in OAS 3.2
|
|
52
|
+
oauth2MetadataUrl: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'URL to the OAuth2 authorization server metadata [RFC8414]. TLS is required.',
|
|
55
|
+
}, // added in OAS 3.2
|
|
56
|
+
},
|
|
57
|
+
allowed(value) {
|
|
58
|
+
switch (value?.type) {
|
|
59
|
+
case 'apiKey':
|
|
60
|
+
return [
|
|
61
|
+
'type',
|
|
62
|
+
'name',
|
|
63
|
+
'in',
|
|
64
|
+
'description',
|
|
65
|
+
'deprecated', // added in OAS 3.2
|
|
66
|
+
];
|
|
67
|
+
case 'http':
|
|
68
|
+
return [
|
|
69
|
+
'type',
|
|
70
|
+
'scheme',
|
|
71
|
+
'bearerFormat',
|
|
72
|
+
'description',
|
|
73
|
+
'deprecated', // added in OAS 3.2
|
|
74
|
+
];
|
|
75
|
+
case 'oauth2':
|
|
76
|
+
switch (value?.flows) {
|
|
77
|
+
case 'implicit':
|
|
78
|
+
return [
|
|
79
|
+
'type',
|
|
80
|
+
'flows',
|
|
81
|
+
'authorizationUrl',
|
|
82
|
+
'refreshUrl',
|
|
83
|
+
'description',
|
|
84
|
+
'scopes',
|
|
85
|
+
'oauth2MetadataUrl', // added in OAS 3.2
|
|
86
|
+
'deprecated', // added in OAS 3.2
|
|
87
|
+
];
|
|
88
|
+
case 'password':
|
|
89
|
+
case 'clientCredentials':
|
|
90
|
+
return [
|
|
91
|
+
'type',
|
|
92
|
+
'flows',
|
|
93
|
+
'tokenUrl',
|
|
94
|
+
'refreshUrl',
|
|
95
|
+
'description',
|
|
96
|
+
'scopes',
|
|
97
|
+
'oauth2MetadataUrl', // added in OAS 3.2
|
|
98
|
+
'deprecated', // added in OAS 3.2
|
|
99
|
+
];
|
|
100
|
+
case 'authorizationCode':
|
|
101
|
+
return [
|
|
102
|
+
'type',
|
|
103
|
+
'flows',
|
|
104
|
+
'authorizationUrl',
|
|
105
|
+
'refreshUrl',
|
|
106
|
+
'tokenUrl',
|
|
107
|
+
'description',
|
|
108
|
+
'scopes',
|
|
109
|
+
'oauth2MetadataUrl', // added in OAS 3.2
|
|
110
|
+
'deprecated', // added in OAS 3.2
|
|
111
|
+
];
|
|
112
|
+
case 'deviceAuthorization': // added in OAS 3.2
|
|
113
|
+
return ['type', 'flows', 'deviceAuthorizationUrl', 'tokenUrl'];
|
|
114
|
+
default:
|
|
115
|
+
return [
|
|
116
|
+
'type',
|
|
117
|
+
'flows',
|
|
118
|
+
'authorizationUrl',
|
|
119
|
+
'refreshUrl',
|
|
120
|
+
'tokenUrl',
|
|
121
|
+
'description',
|
|
122
|
+
'scopes',
|
|
123
|
+
'oauth2MetadataUrl', // added in OAS 3.2
|
|
124
|
+
'deprecated', // added in OAS 3.2
|
|
125
|
+
];
|
|
126
|
+
}
|
|
127
|
+
case 'openIdConnect':
|
|
128
|
+
return [
|
|
129
|
+
'type',
|
|
130
|
+
'openIdConnectUrl',
|
|
131
|
+
'description',
|
|
132
|
+
'deprecated', // added in OAS 3.2
|
|
133
|
+
];
|
|
134
|
+
case 'mutualTLS':
|
|
135
|
+
return [
|
|
136
|
+
'type',
|
|
137
|
+
'description',
|
|
138
|
+
'deprecated', // added in OAS 3.2
|
|
139
|
+
];
|
|
140
|
+
default:
|
|
141
|
+
return [
|
|
142
|
+
'type',
|
|
143
|
+
'description',
|
|
144
|
+
'deprecated', // added in OAS 3.2
|
|
145
|
+
];
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
description: 'Defines a security scheme that can be used by the operations.',
|
|
149
|
+
};
|
|
150
|
+
const OAuth2Flows = {
|
|
151
|
+
...Oas3_1Types.OAuth2Flows,
|
|
152
|
+
properties: {
|
|
153
|
+
...Oas3_1Types.OAuth2Flows.properties,
|
|
154
|
+
deviceAuthorization: 'DeviceAuthorization',
|
|
155
|
+
},
|
|
156
|
+
};
|
|
157
|
+
const DeviceAuthorization = {
|
|
158
|
+
properties: {
|
|
159
|
+
deviceAuthorizationUrl: {
|
|
160
|
+
type: 'string',
|
|
161
|
+
description: 'REQUIRED. The device authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
162
|
+
},
|
|
163
|
+
tokenUrl: {
|
|
164
|
+
type: 'string',
|
|
165
|
+
description: 'REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
166
|
+
},
|
|
167
|
+
refreshUrl: {
|
|
168
|
+
type: 'string',
|
|
169
|
+
description: 'The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
170
|
+
},
|
|
171
|
+
scopes: mapOf('string', {
|
|
172
|
+
description: 'REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.',
|
|
173
|
+
}),
|
|
174
|
+
},
|
|
175
|
+
required: ['deviceAuthorizationUrl', 'tokenUrl', 'scopes'],
|
|
176
|
+
extensionsPrefix: 'x-',
|
|
177
|
+
description: 'Configuration for the OAuth Device Authorization flow.',
|
|
178
|
+
};
|
|
179
|
+
const PathItem = {
|
|
180
|
+
...Oas3Types.PathItem,
|
|
181
|
+
properties: {
|
|
182
|
+
...Oas3Types.PathItem.properties,
|
|
183
|
+
query: 'Operation',
|
|
184
|
+
additionalOperations: mapOf('Operation'),
|
|
185
|
+
},
|
|
186
|
+
};
|
|
187
|
+
const Parameter = {
|
|
188
|
+
...Oas3_1Types.Parameter,
|
|
189
|
+
properties: {
|
|
190
|
+
...Oas3_1Types.Parameter.properties,
|
|
191
|
+
in: {
|
|
192
|
+
description: 'REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie".',
|
|
193
|
+
enum: ['query', 'header', 'path', 'cookie', 'querystring'],
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
const Response = {
|
|
198
|
+
...Oas3_1Types.Response,
|
|
199
|
+
properties: {
|
|
200
|
+
...Oas3_1Types.Response.properties,
|
|
201
|
+
summary: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
description: 'A short summary of the meaning of the response.',
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
const MediaType = {
|
|
208
|
+
...Oas3_1Types.MediaType,
|
|
209
|
+
properties: {
|
|
210
|
+
...Oas3_1Types.MediaType.properties,
|
|
211
|
+
itemSchema: 'Schema',
|
|
212
|
+
prefixEncoding: listOf('Encoding', {
|
|
213
|
+
description: 'A map between a property name and its encoding information, as defined under Encoding By Name. The encoding field SHALL only apply when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. This field MUST NOT be present if prefixEncoding or itemEncoding are present.',
|
|
214
|
+
}),
|
|
215
|
+
itemEncoding: 'Encoding',
|
|
216
|
+
},
|
|
217
|
+
};
|
|
218
|
+
const Discriminator = {
|
|
219
|
+
...Oas3_1Types.Discriminator,
|
|
220
|
+
properties: {
|
|
221
|
+
...Oas3_1Types.Discriminator.properties,
|
|
222
|
+
defaultMapping: {
|
|
223
|
+
type: 'string',
|
|
224
|
+
description: 'The schema name or URI reference to a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload or contains a value for which there is no explicit or implicit mapping.',
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
const Components = {
|
|
229
|
+
properties: {
|
|
230
|
+
...Oas3_1Types.Components.properties,
|
|
231
|
+
mediaTypes: 'NamedMediaTypes',
|
|
232
|
+
},
|
|
233
|
+
};
|
|
234
|
+
const Example = {
|
|
235
|
+
...Oas3_1Types.Example,
|
|
236
|
+
properties: {
|
|
237
|
+
...Oas3_1Types.Example.properties,
|
|
238
|
+
dataValue: {
|
|
239
|
+
resolvable: false,
|
|
240
|
+
description: 'An example of the data structure that MUST be valid according to the relevant Schema Object. If this field is present, value MUST be absent.',
|
|
241
|
+
},
|
|
242
|
+
serializedValue: {
|
|
243
|
+
type: 'string',
|
|
244
|
+
description: 'An example of the serialized form of the value, including encoding and escaping as described under Validating Examples. If dataValue is present, then this field SHOULD contain the serialization of the given data. Otherwise, it SHOULD be the valid serialization of a data value that itself MUST be valid as described for dataValue. This field SHOULD NOT be used if the serialization format is JSON, as the data form is easier to work with. If this field is present, value, and externalValue MUST be absent.',
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
const Xml = {
|
|
249
|
+
properties: {
|
|
250
|
+
nodeType: {
|
|
251
|
+
type: 'string',
|
|
252
|
+
enum: ['element', 'attribute', 'text', 'cdata', 'none'],
|
|
253
|
+
description: 'One of element, attribute, text, cdata, or none, as explained under XML Node Types. The default value is none if $ref, $dynamicRef, or type: "array" is present in the Schema Object containing the XML Object, and element otherwise.',
|
|
254
|
+
},
|
|
255
|
+
name: {
|
|
256
|
+
type: 'string',
|
|
257
|
+
description: 'Sets the name of the element/attribute corresponding to the schema, replacing the name that was inferred as described under XML Node Names. This field SHALL be ignored if the nodeType is text, cdata, or none.',
|
|
258
|
+
},
|
|
259
|
+
namespace: {
|
|
260
|
+
type: 'string',
|
|
261
|
+
description: 'The IRI ([RFC3987]) of the namespace definition. Value MUST be in the form of a non-relative IRI.',
|
|
262
|
+
},
|
|
263
|
+
prefix: {
|
|
264
|
+
type: 'string',
|
|
265
|
+
description: 'The prefix to be used for the name.',
|
|
266
|
+
},
|
|
267
|
+
attribute: {
|
|
268
|
+
type: 'boolean',
|
|
269
|
+
description: 'Declares whether the property definition translates to an attribute instead of an element. Default value is false. If nodeType is present, this field MUST NOT be present.Deprecated: Use nodeType: "attribute" instead of attribute: true.',
|
|
270
|
+
},
|
|
271
|
+
wrapped: {
|
|
272
|
+
type: 'boolean',
|
|
273
|
+
description: 'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). If nodeType is present, this field MUST NOT be present. Deprecated: Use nodeType: "element" instead of wrapped: true.',
|
|
274
|
+
}, // Deprecated in OAS 3.2: Use nodeType: "element" instead
|
|
275
|
+
},
|
|
276
|
+
extensionsPrefix: 'x-',
|
|
277
|
+
description: 'A metadata object that allows for more fine-tuned XML model definitions. When using a Schema Object with XML, if no XML Object is present, the behavior is determined by the XML Object’s default field values.',
|
|
278
|
+
};
|
|
279
|
+
// based on draft-2020-12
|
|
280
|
+
const Schema = {
|
|
281
|
+
...Oas3_1Types.Schema,
|
|
282
|
+
properties: {
|
|
283
|
+
...Oas3_1Types.Schema.properties,
|
|
284
|
+
xml: 'Xml',
|
|
285
|
+
},
|
|
286
|
+
};
|
|
287
|
+
export const Oas3_2Types = {
|
|
288
|
+
...Oas3_1Types,
|
|
289
|
+
Root,
|
|
290
|
+
Tag,
|
|
291
|
+
Server,
|
|
292
|
+
SecurityScheme,
|
|
293
|
+
OAuth2Flows,
|
|
294
|
+
DeviceAuthorization,
|
|
295
|
+
PathItem,
|
|
296
|
+
Parameter,
|
|
297
|
+
Response,
|
|
298
|
+
MediaType,
|
|
299
|
+
Discriminator,
|
|
300
|
+
Example,
|
|
301
|
+
Xml,
|
|
302
|
+
Schema,
|
|
303
|
+
Components,
|
|
304
|
+
NamedMediaTypes: mapOf('MediaTypesMap'),
|
|
305
|
+
};
|
|
306
|
+
//# sourceMappingURL=oas3_2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oas3_2.js","sourceRoot":"","sources":["../../src/types/oas3_2.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { type NodeType } from './index.js';
|
|
2
|
+
export declare const OpenRpcTypes: {
|
|
3
|
+
readonly Root: NodeType;
|
|
4
|
+
readonly Info: NodeType;
|
|
5
|
+
readonly Contact: NodeType;
|
|
6
|
+
readonly License: NodeType;
|
|
7
|
+
readonly Server: NodeType;
|
|
8
|
+
readonly ServerList: {
|
|
9
|
+
description?: string;
|
|
10
|
+
documentationLink?: string;
|
|
11
|
+
name: string;
|
|
12
|
+
properties: {};
|
|
13
|
+
items: string;
|
|
14
|
+
};
|
|
15
|
+
readonly ServerVariable: NodeType;
|
|
16
|
+
readonly ServerVariablesMap: {
|
|
17
|
+
description?: string;
|
|
18
|
+
documentationLink?: string;
|
|
19
|
+
name: string;
|
|
20
|
+
properties: {};
|
|
21
|
+
additionalProperties: () => string;
|
|
22
|
+
};
|
|
23
|
+
readonly Method: NodeType;
|
|
24
|
+
readonly MethodList: {
|
|
25
|
+
description?: string;
|
|
26
|
+
documentationLink?: string;
|
|
27
|
+
name: string;
|
|
28
|
+
properties: {};
|
|
29
|
+
items: string;
|
|
30
|
+
};
|
|
31
|
+
readonly ContentDescriptor: NodeType;
|
|
32
|
+
readonly ContentDescriptorList: {
|
|
33
|
+
description?: string;
|
|
34
|
+
documentationLink?: string;
|
|
35
|
+
name: string;
|
|
36
|
+
properties: {};
|
|
37
|
+
items: string;
|
|
38
|
+
};
|
|
39
|
+
readonly ExamplePairing: NodeType;
|
|
40
|
+
readonly ExamplePairingList: {
|
|
41
|
+
description?: string;
|
|
42
|
+
documentationLink?: string;
|
|
43
|
+
name: string;
|
|
44
|
+
properties: {};
|
|
45
|
+
items: string;
|
|
46
|
+
};
|
|
47
|
+
readonly Example: NodeType;
|
|
48
|
+
readonly ExampleList: {
|
|
49
|
+
description?: string;
|
|
50
|
+
documentationLink?: string;
|
|
51
|
+
name: string;
|
|
52
|
+
properties: {};
|
|
53
|
+
items: string;
|
|
54
|
+
};
|
|
55
|
+
readonly Link: NodeType;
|
|
56
|
+
readonly LinkList: {
|
|
57
|
+
description?: string;
|
|
58
|
+
documentationLink?: string;
|
|
59
|
+
name: string;
|
|
60
|
+
properties: {};
|
|
61
|
+
items: string;
|
|
62
|
+
};
|
|
63
|
+
readonly ErrorObject: NodeType;
|
|
64
|
+
readonly ErrorList: {
|
|
65
|
+
description?: string;
|
|
66
|
+
documentationLink?: string;
|
|
67
|
+
name: string;
|
|
68
|
+
properties: {};
|
|
69
|
+
items: string;
|
|
70
|
+
};
|
|
71
|
+
readonly Components: NodeType;
|
|
72
|
+
readonly Tag: NodeType;
|
|
73
|
+
readonly TagList: {
|
|
74
|
+
description?: string;
|
|
75
|
+
documentationLink?: string;
|
|
76
|
+
name: string;
|
|
77
|
+
properties: {};
|
|
78
|
+
items: string;
|
|
79
|
+
};
|
|
80
|
+
readonly ExternalDocs: NodeType;
|
|
81
|
+
readonly Schema: NodeType;
|
|
82
|
+
readonly SchemaProperties: NodeType;
|
|
83
|
+
readonly Dependencies: NodeType;
|
|
84
|
+
readonly DiscriminatorMapping: NodeType;
|
|
85
|
+
readonly Discriminator: NodeType;
|
|
86
|
+
readonly NamedContentDescriptors: {
|
|
87
|
+
description?: string;
|
|
88
|
+
documentationLink?: string;
|
|
89
|
+
name: string;
|
|
90
|
+
properties: {};
|
|
91
|
+
additionalProperties: () => string;
|
|
92
|
+
};
|
|
93
|
+
readonly NamedSchemas: {
|
|
94
|
+
description?: string;
|
|
95
|
+
documentationLink?: string;
|
|
96
|
+
name: string;
|
|
97
|
+
properties: {};
|
|
98
|
+
additionalProperties: () => string;
|
|
99
|
+
};
|
|
100
|
+
readonly NamedExamples: {
|
|
101
|
+
description?: string;
|
|
102
|
+
documentationLink?: string;
|
|
103
|
+
name: string;
|
|
104
|
+
properties: {};
|
|
105
|
+
additionalProperties: () => string;
|
|
106
|
+
};
|
|
107
|
+
readonly NamedLinks: {
|
|
108
|
+
description?: string;
|
|
109
|
+
documentationLink?: string;
|
|
110
|
+
name: string;
|
|
111
|
+
properties: {};
|
|
112
|
+
additionalProperties: () => string;
|
|
113
|
+
};
|
|
114
|
+
readonly NamedErrors: {
|
|
115
|
+
description?: string;
|
|
116
|
+
documentationLink?: string;
|
|
117
|
+
name: string;
|
|
118
|
+
properties: {};
|
|
119
|
+
additionalProperties: () => string;
|
|
120
|
+
};
|
|
121
|
+
readonly NamedExamplePairingObjects: {
|
|
122
|
+
description?: string;
|
|
123
|
+
documentationLink?: string;
|
|
124
|
+
name: string;
|
|
125
|
+
properties: {};
|
|
126
|
+
additionalProperties: () => string;
|
|
127
|
+
};
|
|
128
|
+
readonly NamedTags: {
|
|
129
|
+
description?: string;
|
|
130
|
+
documentationLink?: string;
|
|
131
|
+
name: string;
|
|
132
|
+
properties: {};
|
|
133
|
+
additionalProperties: () => string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
//# sourceMappingURL=openrpc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openrpc.d.ts","sourceRoot":"","sources":["../../src/types/openrpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAyX1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCf,CAAC"}
|