@kubb/agent 4.33.0 → 4.33.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +3554 -2113
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +5 -5
- package/.output/server/index.mjs +5 -5
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/index.js +17 -0
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/constants.js +180 -0
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/parse.js +1085 -0
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/picomatch.js +341 -0
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/scan.js +391 -0
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/utils.js +72 -0
- package/.output/server/node_modules/.nitro/picomatch@4.0.3/package.json +83 -0
- package/.output/server/node_modules/@redocly/ajv/dist/2020.js +55 -0
- package/.output/server/node_modules/@redocly/ajv/dist/ajv.js +50 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/code.js +156 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/index.js +697 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/scope.js +143 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/errors.js +123 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/index.js +249 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/names.js +29 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/ref_error.js +12 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/resolve.js +155 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/rules.js +26 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/util.js +178 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/applicability.js +19 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/dataType.js +203 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/defaults.js +35 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/index.js +534 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/keyword.js +124 -0
- package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/subschema.js +81 -0
- package/.output/server/node_modules/@redocly/ajv/dist/core.js +632 -0
- package/.output/server/node_modules/@redocly/ajv/dist/draft4.js +56 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/data.json +13 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-04.json +138 -0
- package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/equal.js +7 -0
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/ucs2length.js +24 -0
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/uri.js +6 -0
- package/.output/server/node_modules/@redocly/ajv/dist/runtime/validation_error.js +11 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalProperties.js +107 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/properties.js +55 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/code.js +138 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/id.js +10 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/index.js +16 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/ref.js +132 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/index.js +139 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft2020.js +23 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft4.js +29 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft7.js +17 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/format.js +92 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/index.js +6 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/metadata.js +26 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/next.js +8 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/oasContext.js +26 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +84 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumber.js +43 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumberExclusive.js +19 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/index.js +37 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/readOnly.js +20 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/required.js +86 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/writeOnly.js +20 -0
- package/.output/server/node_modules/@redocly/ajv/package.json +130 -0
- package/.output/server/node_modules/@redocly/config/lib/common.js +103 -0
- package/.output/server/node_modules/@redocly/config/lib/constants/config.js +17 -0
- package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +58 -0
- package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +6 -0
- package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +22 -0
- package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +54 -0
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +186 -0
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +283 -0
- package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +682 -0
- package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +88 -0
- package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +157 -0
- package/.output/server/node_modules/@redocly/config/lib/index.js +41 -0
- package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +43 -0
- package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +120 -0
- package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +518 -0
- package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +25 -0
- package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +103 -0
- package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +558 -0
- package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +242 -0
- package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +3 -0
- package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +3 -0
- package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +3 -0
- package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +3 -0
- package/.output/server/node_modules/@redocly/config/lib/types/index.js +21 -0
- package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +18 -0
- package/.output/server/node_modules/@redocly/config/package.json +28 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +85 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +257 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +74 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +310 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +58 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +335 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +338 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +9 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +51 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +8 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +98 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +289 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +289 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +289 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +35 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +289 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +129 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +99 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +65 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +21 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +58 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +68 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +23 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +88 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +21 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +116 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +79 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +177 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +365 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +49 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +11 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +171 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +123 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +56 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +35 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +109 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +326 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +106 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +68 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +52 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +139 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +30 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +21 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +15 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +23 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +53 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +16 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +32 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +16 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +32 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +39 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +269 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +22 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +215 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +23 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +42 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +21 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +38 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +31 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +21 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +32 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +34 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +78 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +42 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +20 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +20 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +9 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +17 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +15 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +37 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +9 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +23 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +15 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +145 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +30 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +17 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +34 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +26 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +39 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +62 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +150 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +9 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +18 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +93 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +34 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +14 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +26 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +21 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +130 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +129 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +20 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +59 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +15 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +15 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +58 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +28 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +83 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +15 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +33 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +28 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +36 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +28 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +59 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +32 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +31 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +16 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +38 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +65 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +20 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +82 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +28 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +31 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +190 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +12 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +20 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +30 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +25 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +18 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +35 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +60 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +172 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +482 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +1157 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +511 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +32 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +90 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +181 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +101 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +454 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +828 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +292 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +306 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +360 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +61 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +573 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +3 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +28 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +36 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +7 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +3 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +11 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +6 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +27 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +6 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +6 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +8 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +8 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +26 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +99 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +11 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +13 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +7 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +31 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +23 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +177 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +303 -0
- package/.output/server/node_modules/@redocly/openapi-core/package.json +74 -0
- package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
- package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
- package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
- package/.output/server/node_modules/ajv-formats/package.json +74 -0
- package/.output/server/node_modules/colorette/index.js +82 -0
- package/.output/server/node_modules/colorette/package.json +39 -0
- package/.output/server/node_modules/js-levenshtein/index.js +105 -0
- package/.output/server/node_modules/js-levenshtein/package.json +49 -0
- package/.output/server/node_modules/pluralize/package.json +40 -0
- package/.output/server/node_modules/pluralize/pluralize.js +503 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +45 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +644 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +40 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +22 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +1416 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +62 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +82 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +8 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +14 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +19 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +10 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +14 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +78 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +92 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +32 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +95 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +155 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +64 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +22 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +7 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +10 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +30 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +46 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +55 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +7 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +22 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +7 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +70 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +54 -0
- package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +82 -0
- package/.output/server/node_modules/yaml-ast-parser/package.json +39 -0
- package/.output/server/package.json +9 -1
- package/package.json +18 -17
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/index.js +0 -0
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/parse.js +0 -0
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/picomatch.js +0 -0
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/scan.js +0 -0
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/utils.js +0 -0
- /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/package.json +0 -0
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
|
|
4
|
+
const redoc_config_schema_1 = require("./redoc-config-schema");
|
|
5
|
+
const reference_docs_config_schema_1 = require("./reference-docs-config-schema");
|
|
6
|
+
const common_1 = require("./common");
|
|
7
|
+
const config_1 = require("./constants/config");
|
|
8
|
+
const hideConfigSchema = {
|
|
9
|
+
type: 'object',
|
|
10
|
+
properties: {
|
|
11
|
+
hide: { type: 'boolean' },
|
|
12
|
+
},
|
|
13
|
+
additionalProperties: false,
|
|
14
|
+
};
|
|
15
|
+
const scriptConfigSchema = {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
src: { type: 'string' },
|
|
19
|
+
async: { type: 'boolean' },
|
|
20
|
+
crossorigin: { type: 'string' },
|
|
21
|
+
defer: { type: 'boolean' },
|
|
22
|
+
fetchpriority: { type: 'string' },
|
|
23
|
+
integrity: { type: 'string' },
|
|
24
|
+
module: { type: 'boolean' },
|
|
25
|
+
nomodule: { type: 'boolean' },
|
|
26
|
+
nonce: { type: 'string' },
|
|
27
|
+
referrerpolicy: { type: 'string' },
|
|
28
|
+
type: { type: 'string' },
|
|
29
|
+
},
|
|
30
|
+
required: ['src'],
|
|
31
|
+
additionalProperties: true,
|
|
32
|
+
};
|
|
33
|
+
const navItemSchema = {
|
|
34
|
+
type: 'object',
|
|
35
|
+
properties: {
|
|
36
|
+
page: { type: 'string' },
|
|
37
|
+
directory: { type: 'string' },
|
|
38
|
+
disconnect: { type: 'boolean', default: false },
|
|
39
|
+
group: { type: 'string' },
|
|
40
|
+
label: { type: 'string' },
|
|
41
|
+
href: { type: 'string' },
|
|
42
|
+
external: { type: 'boolean' },
|
|
43
|
+
labelTranslationKey: { type: 'string' },
|
|
44
|
+
groupTranslationKey: { type: 'string' },
|
|
45
|
+
icon: {
|
|
46
|
+
oneOf: [
|
|
47
|
+
{ type: 'string' },
|
|
48
|
+
{ type: 'object', properties: { srcSet: { type: 'string' } }, required: ['srcSet'] },
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
separator: { type: 'string' },
|
|
52
|
+
separatorLine: { type: 'boolean' },
|
|
53
|
+
linePosition: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
enum: ['top', 'bottom'],
|
|
56
|
+
default: 'top',
|
|
57
|
+
},
|
|
58
|
+
version: { type: 'string' },
|
|
59
|
+
menuStyle: { type: 'string', enum: ['drilldown'] },
|
|
60
|
+
expanded: { type: 'string', const: 'always' },
|
|
61
|
+
selectFirstItemOnExpand: { type: 'boolean' },
|
|
62
|
+
flatten: { type: 'boolean' },
|
|
63
|
+
linkedSidebars: {
|
|
64
|
+
type: 'array',
|
|
65
|
+
items: { type: 'string' },
|
|
66
|
+
},
|
|
67
|
+
// Allow users to eject the navbar and implement additional levels of nesting
|
|
68
|
+
items: { type: 'array', items: { type: 'object', additionalProperties: true } },
|
|
69
|
+
rbac: {
|
|
70
|
+
type: 'object',
|
|
71
|
+
additionalProperties: { type: 'string' },
|
|
72
|
+
},
|
|
73
|
+
additionalProps: { type: 'object', additionalProperties: true },
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
exports.navItemsSchema = {
|
|
77
|
+
type: 'array',
|
|
78
|
+
items: Object.assign(Object.assign({}, navItemSchema), { properties: Object.assign(Object.assign({}, navItemSchema.properties), { items: { type: 'array', items: navItemSchema } }) }),
|
|
79
|
+
};
|
|
80
|
+
exports.productConfigSchema = {
|
|
81
|
+
type: 'object',
|
|
82
|
+
properties: {
|
|
83
|
+
name: { type: 'string' },
|
|
84
|
+
icon: { type: 'string' },
|
|
85
|
+
folder: { type: 'string' },
|
|
86
|
+
},
|
|
87
|
+
additionalProperties: false,
|
|
88
|
+
required: ['name', 'folder'],
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated Use `aiAssistant` configuration instead of `search.ai`
|
|
92
|
+
*/
|
|
93
|
+
exports.aiSearchConfigSchema = {
|
|
94
|
+
type: 'object',
|
|
95
|
+
properties: {
|
|
96
|
+
hide: {
|
|
97
|
+
type: 'boolean',
|
|
98
|
+
default: false,
|
|
99
|
+
},
|
|
100
|
+
suggestions: {
|
|
101
|
+
default: [],
|
|
102
|
+
type: 'array',
|
|
103
|
+
items: {
|
|
104
|
+
type: 'string',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
prompt: {
|
|
108
|
+
type: 'string',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
additionalProperties: false,
|
|
112
|
+
};
|
|
113
|
+
exports.searchFacetsConfigSchema = {
|
|
114
|
+
type: 'array',
|
|
115
|
+
items: {
|
|
116
|
+
type: 'object',
|
|
117
|
+
required: ['name', 'field', 'type'],
|
|
118
|
+
properties: {
|
|
119
|
+
name: { type: 'string' },
|
|
120
|
+
field: { type: 'string' },
|
|
121
|
+
type: {
|
|
122
|
+
type: 'string',
|
|
123
|
+
enum: ['multi-select', 'select', 'tags'],
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
additionalProperties: false,
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
exports.searchFiltersConfigSchema = {
|
|
130
|
+
type: 'object',
|
|
131
|
+
properties: Object.assign({ facets: exports.searchFacetsConfigSchema }, hideConfigSchema.properties),
|
|
132
|
+
additionalProperties: false,
|
|
133
|
+
};
|
|
134
|
+
const searchSuggestedPageSchema = {
|
|
135
|
+
type: 'object',
|
|
136
|
+
properties: {
|
|
137
|
+
page: { type: 'string' },
|
|
138
|
+
label: { type: 'string' },
|
|
139
|
+
labelTranslationKey: { type: 'string' },
|
|
140
|
+
},
|
|
141
|
+
required: ['page'],
|
|
142
|
+
};
|
|
143
|
+
exports.logoConfigSchema = {
|
|
144
|
+
type: 'object',
|
|
145
|
+
properties: {
|
|
146
|
+
image: { type: 'string' },
|
|
147
|
+
srcSet: { type: 'string' },
|
|
148
|
+
altText: { type: 'string' },
|
|
149
|
+
link: { type: 'string' },
|
|
150
|
+
favicon: { type: 'string' },
|
|
151
|
+
},
|
|
152
|
+
additionalProperties: false,
|
|
153
|
+
};
|
|
154
|
+
exports.navbarConfigSchema = {
|
|
155
|
+
type: 'object',
|
|
156
|
+
properties: Object.assign({ items: exports.navItemsSchema }, hideConfigSchema.properties),
|
|
157
|
+
additionalProperties: false,
|
|
158
|
+
};
|
|
159
|
+
exports.productsConfigSchema = {
|
|
160
|
+
type: 'object',
|
|
161
|
+
additionalProperties: exports.productConfigSchema,
|
|
162
|
+
};
|
|
163
|
+
exports.footerConfigSchema = {
|
|
164
|
+
type: 'object',
|
|
165
|
+
properties: Object.assign({ items: exports.navItemsSchema, copyrightText: { type: 'string' }, logo: hideConfigSchema }, hideConfigSchema.properties),
|
|
166
|
+
additionalProperties: false,
|
|
167
|
+
};
|
|
168
|
+
exports.sidebarConfigSchema = {
|
|
169
|
+
type: 'object',
|
|
170
|
+
properties: Object.assign({ separatorLine: { type: 'boolean' }, linePosition: {
|
|
171
|
+
type: 'string',
|
|
172
|
+
enum: ['top', 'bottom'],
|
|
173
|
+
default: 'bottom',
|
|
174
|
+
} }, hideConfigSchema.properties),
|
|
175
|
+
additionalProperties: false,
|
|
176
|
+
};
|
|
177
|
+
exports.scriptsConfigSchema = {
|
|
178
|
+
type: 'object',
|
|
179
|
+
properties: {
|
|
180
|
+
head: { type: 'array', items: scriptConfigSchema },
|
|
181
|
+
body: { type: 'array', items: scriptConfigSchema },
|
|
182
|
+
},
|
|
183
|
+
additionalProperties: false,
|
|
184
|
+
};
|
|
185
|
+
exports.linksConfigSchema = {
|
|
186
|
+
type: 'array',
|
|
187
|
+
items: {
|
|
188
|
+
type: 'object',
|
|
189
|
+
properties: {
|
|
190
|
+
href: { type: 'string' },
|
|
191
|
+
as: { type: 'string' },
|
|
192
|
+
crossorigin: { type: 'string' },
|
|
193
|
+
fetchpriority: { type: 'string' },
|
|
194
|
+
hreflang: { type: 'string' },
|
|
195
|
+
imagesizes: { type: 'string' },
|
|
196
|
+
imagesrcset: { type: 'string' },
|
|
197
|
+
integrity: { type: 'string' },
|
|
198
|
+
media: { type: 'string' },
|
|
199
|
+
prefetch: { type: 'string' },
|
|
200
|
+
referrerpolicy: { type: 'string' },
|
|
201
|
+
rel: { type: 'string' },
|
|
202
|
+
sizes: { type: 'string' },
|
|
203
|
+
title: { type: 'string' },
|
|
204
|
+
type: { type: 'string' },
|
|
205
|
+
},
|
|
206
|
+
required: ['href'],
|
|
207
|
+
additionalProperties: true,
|
|
208
|
+
},
|
|
209
|
+
};
|
|
210
|
+
exports.searchConfigSchema = {
|
|
211
|
+
type: 'object',
|
|
212
|
+
properties: Object.assign({ engine: {
|
|
213
|
+
type: 'string',
|
|
214
|
+
enum: ['flexsearch', 'typesense'],
|
|
215
|
+
default: 'flexsearch',
|
|
216
|
+
}, ai: exports.aiSearchConfigSchema, filters: exports.searchFiltersConfigSchema, placement: {
|
|
217
|
+
type: 'string',
|
|
218
|
+
default: 'navbar',
|
|
219
|
+
}, shortcuts: {
|
|
220
|
+
type: 'array',
|
|
221
|
+
items: { type: 'string' },
|
|
222
|
+
default: ['⌘+K,ctrl+K'],
|
|
223
|
+
}, suggestedPages: {
|
|
224
|
+
type: 'array',
|
|
225
|
+
items: searchSuggestedPageSchema,
|
|
226
|
+
} }, hideConfigSchema.properties),
|
|
227
|
+
additionalProperties: false,
|
|
228
|
+
};
|
|
229
|
+
exports.aiAssistantSchema = {
|
|
230
|
+
type: 'object',
|
|
231
|
+
properties: {
|
|
232
|
+
hide: {
|
|
233
|
+
type: 'boolean',
|
|
234
|
+
// set default to false when removing search.ai backwards compatibility
|
|
235
|
+
},
|
|
236
|
+
suggestions: {
|
|
237
|
+
default: [],
|
|
238
|
+
type: 'array',
|
|
239
|
+
items: {
|
|
240
|
+
type: 'string',
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
prompt: {
|
|
244
|
+
type: 'string',
|
|
245
|
+
},
|
|
246
|
+
trigger: {
|
|
247
|
+
type: 'object',
|
|
248
|
+
properties: {
|
|
249
|
+
hide: {
|
|
250
|
+
type: 'boolean',
|
|
251
|
+
default: false,
|
|
252
|
+
},
|
|
253
|
+
inputType: {
|
|
254
|
+
type: 'string',
|
|
255
|
+
enum: ['button', 'icon'],
|
|
256
|
+
default: 'button',
|
|
257
|
+
},
|
|
258
|
+
inputIcon: {
|
|
259
|
+
type: 'string',
|
|
260
|
+
enum: ['chat', 'sparkles', 'redocly'],
|
|
261
|
+
default: 'sparkles',
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
additionalProperties: false,
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
additionalProperties: false,
|
|
268
|
+
};
|
|
269
|
+
exports.colorModeConfigSchema = {
|
|
270
|
+
type: 'object',
|
|
271
|
+
properties: Object.assign({ ignoreDetection: { type: 'boolean' }, modes: {
|
|
272
|
+
type: 'array',
|
|
273
|
+
items: { type: 'string' },
|
|
274
|
+
default: ['light', 'dark'],
|
|
275
|
+
} }, hideConfigSchema.properties),
|
|
276
|
+
additionalProperties: false,
|
|
277
|
+
};
|
|
278
|
+
const navigationActionsConfigSchema = {
|
|
279
|
+
type: 'object',
|
|
280
|
+
properties: Object.assign(Object.assign({}, hideConfigSchema.properties), { items: {
|
|
281
|
+
type: 'array',
|
|
282
|
+
items: {
|
|
283
|
+
type: 'string',
|
|
284
|
+
enum: ['copy', 'view', 'chatgpt', 'claude', 'docs-mcp-cursor', 'docs-mcp-vscode'],
|
|
285
|
+
},
|
|
286
|
+
default: ['copy', 'view', 'chatgpt', 'claude', 'docs-mcp-cursor', 'docs-mcp-vscode'],
|
|
287
|
+
} }),
|
|
288
|
+
additionalProperties: false,
|
|
289
|
+
};
|
|
290
|
+
exports.navigationConfigSchema = {
|
|
291
|
+
type: 'object',
|
|
292
|
+
properties: {
|
|
293
|
+
nextButton: {
|
|
294
|
+
type: 'object',
|
|
295
|
+
properties: Object.assign({ text: { type: 'string' } }, hideConfigSchema.properties),
|
|
296
|
+
additionalProperties: false,
|
|
297
|
+
default: {},
|
|
298
|
+
},
|
|
299
|
+
previousButton: {
|
|
300
|
+
type: 'object',
|
|
301
|
+
properties: Object.assign({ text: { type: 'string' } }, hideConfigSchema.properties),
|
|
302
|
+
additionalProperties: false,
|
|
303
|
+
default: {},
|
|
304
|
+
},
|
|
305
|
+
actions: navigationActionsConfigSchema,
|
|
306
|
+
},
|
|
307
|
+
additionalProperties: false,
|
|
308
|
+
};
|
|
309
|
+
exports.codeSnippetConfigSchema = {
|
|
310
|
+
type: 'object',
|
|
311
|
+
properties: {
|
|
312
|
+
elementFormat: { type: 'string', default: 'icon' },
|
|
313
|
+
copy: {
|
|
314
|
+
type: 'object',
|
|
315
|
+
properties: Object.assign({}, hideConfigSchema.properties),
|
|
316
|
+
additionalProperties: false,
|
|
317
|
+
default: { hide: false },
|
|
318
|
+
},
|
|
319
|
+
report: {
|
|
320
|
+
type: 'object',
|
|
321
|
+
properties: Object.assign({ tooltipText: { type: 'string' }, buttonText: { type: 'string' }, label: { type: 'string' } }, hideConfigSchema.properties),
|
|
322
|
+
additionalProperties: false,
|
|
323
|
+
default: { hide: false },
|
|
324
|
+
},
|
|
325
|
+
expand: {
|
|
326
|
+
type: 'object',
|
|
327
|
+
properties: Object.assign({}, hideConfigSchema.properties),
|
|
328
|
+
additionalProperties: false,
|
|
329
|
+
default: { hide: false },
|
|
330
|
+
},
|
|
331
|
+
collapse: {
|
|
332
|
+
type: 'object',
|
|
333
|
+
properties: Object.assign({}, hideConfigSchema.properties),
|
|
334
|
+
additionalProperties: false,
|
|
335
|
+
default: { hide: false },
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
additionalProperties: false,
|
|
339
|
+
};
|
|
340
|
+
exports.markdownConfigSchema = {
|
|
341
|
+
type: 'object',
|
|
342
|
+
properties: {
|
|
343
|
+
frontMatterKeysToResolve: {
|
|
344
|
+
type: 'array',
|
|
345
|
+
items: { type: 'string' },
|
|
346
|
+
default: ['image', 'links'],
|
|
347
|
+
},
|
|
348
|
+
partialsFolders: {
|
|
349
|
+
type: 'array',
|
|
350
|
+
items: { type: 'string' },
|
|
351
|
+
default: ['**/_partials/**'],
|
|
352
|
+
},
|
|
353
|
+
lastUpdatedBlock: {
|
|
354
|
+
type: 'object',
|
|
355
|
+
properties: Object.assign({ format: {
|
|
356
|
+
type: 'string',
|
|
357
|
+
enum: ['timeago', 'iso', 'long', 'short'],
|
|
358
|
+
default: 'timeago',
|
|
359
|
+
}, locale: { type: 'string' } }, hideConfigSchema.properties),
|
|
360
|
+
additionalProperties: false,
|
|
361
|
+
default: {},
|
|
362
|
+
},
|
|
363
|
+
toc: {
|
|
364
|
+
type: 'object',
|
|
365
|
+
properties: Object.assign({ header: { type: 'string', default: 'On this page' }, depth: { type: 'integer', default: 3, minimum: 1 } }, hideConfigSchema.properties),
|
|
366
|
+
additionalProperties: false,
|
|
367
|
+
default: {},
|
|
368
|
+
},
|
|
369
|
+
editPage: {
|
|
370
|
+
type: 'object',
|
|
371
|
+
properties: Object.assign({ baseUrl: { type: 'string' } }, hideConfigSchema.properties),
|
|
372
|
+
additionalProperties: false,
|
|
373
|
+
default: {},
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
additionalProperties: false,
|
|
377
|
+
default: {},
|
|
378
|
+
};
|
|
379
|
+
exports.openapiConfigSchema = Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema), { properties: Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema.properties), reference_docs_config_schema_1.deprecatedRefDocsSchema.properties) });
|
|
380
|
+
const adobeAnalyticsConfigSchema = {
|
|
381
|
+
type: 'object',
|
|
382
|
+
properties: {
|
|
383
|
+
includeInDevelopment: { type: 'boolean' },
|
|
384
|
+
scriptUrl: { type: 'string' },
|
|
385
|
+
pageViewEventName: { type: 'string' },
|
|
386
|
+
},
|
|
387
|
+
additionalProperties: false,
|
|
388
|
+
required: ['scriptUrl'],
|
|
389
|
+
};
|
|
390
|
+
exports.amplitudeAnalyticsConfigSchema = {
|
|
391
|
+
type: 'object',
|
|
392
|
+
properties: {
|
|
393
|
+
includeInDevelopment: { type: 'boolean' },
|
|
394
|
+
apiKey: { type: 'string' },
|
|
395
|
+
head: { type: 'boolean' },
|
|
396
|
+
respectDNT: { type: 'boolean' },
|
|
397
|
+
exclude: { type: 'array', items: { type: 'string' } },
|
|
398
|
+
outboundClickEventName: { type: 'string' },
|
|
399
|
+
pageViewEventName: { type: 'string' },
|
|
400
|
+
amplitudeConfig: { type: 'object', additionalProperties: true },
|
|
401
|
+
},
|
|
402
|
+
additionalProperties: false,
|
|
403
|
+
required: ['apiKey'],
|
|
404
|
+
};
|
|
405
|
+
exports.fullstoryAnalyticsConfigSchema = {
|
|
406
|
+
type: 'object',
|
|
407
|
+
properties: {
|
|
408
|
+
includeInDevelopment: { type: 'boolean' },
|
|
409
|
+
orgId: { type: 'string' },
|
|
410
|
+
},
|
|
411
|
+
additionalProperties: false,
|
|
412
|
+
required: ['orgId'],
|
|
413
|
+
};
|
|
414
|
+
exports.heapAnalyticsConfigSchema = {
|
|
415
|
+
type: 'object',
|
|
416
|
+
properties: {
|
|
417
|
+
includeInDevelopment: { type: 'boolean' },
|
|
418
|
+
appId: { type: 'string' },
|
|
419
|
+
},
|
|
420
|
+
additionalProperties: false,
|
|
421
|
+
required: ['appId'],
|
|
422
|
+
};
|
|
423
|
+
exports.rudderstackAnalyticsConfigSchema = {
|
|
424
|
+
type: 'object',
|
|
425
|
+
properties: {
|
|
426
|
+
includeInDevelopment: { type: 'boolean' },
|
|
427
|
+
writeKey: { type: 'string', minLength: 10 },
|
|
428
|
+
trackPage: { type: 'boolean' },
|
|
429
|
+
dataPlaneUrl: { type: 'string' },
|
|
430
|
+
controlPlaneUrl: { type: 'string' },
|
|
431
|
+
sdkUrl: { type: 'string' },
|
|
432
|
+
loadOptions: { type: 'object', additionalProperties: true },
|
|
433
|
+
},
|
|
434
|
+
additionalProperties: false,
|
|
435
|
+
required: ['writeKey'],
|
|
436
|
+
};
|
|
437
|
+
exports.segmentAnalyticsConfigSchema = {
|
|
438
|
+
type: 'object',
|
|
439
|
+
properties: {
|
|
440
|
+
includeInDevelopment: { type: 'boolean' },
|
|
441
|
+
writeKey: { type: 'string', minLength: 10 },
|
|
442
|
+
trackPage: { type: 'boolean' },
|
|
443
|
+
includeTitleInPageCall: { type: 'boolean' },
|
|
444
|
+
host: { type: 'string' },
|
|
445
|
+
},
|
|
446
|
+
additionalProperties: false,
|
|
447
|
+
required: ['writeKey'],
|
|
448
|
+
};
|
|
449
|
+
exports.gtmAnalyticsConfigSchema = {
|
|
450
|
+
type: 'object',
|
|
451
|
+
properties: {
|
|
452
|
+
includeInDevelopment: { type: 'boolean' },
|
|
453
|
+
trackingId: { type: 'string' },
|
|
454
|
+
gtmAuth: { type: 'string' },
|
|
455
|
+
gtmPreview: { type: 'string' },
|
|
456
|
+
defaultDataLayer: {},
|
|
457
|
+
dataLayerName: { type: 'string' },
|
|
458
|
+
enableWebVitalsTracking: { type: 'boolean' },
|
|
459
|
+
selfHostedOrigin: { type: 'string' },
|
|
460
|
+
pageViewEventName: { type: 'string' },
|
|
461
|
+
},
|
|
462
|
+
additionalProperties: false,
|
|
463
|
+
required: ['trackingId'],
|
|
464
|
+
};
|
|
465
|
+
exports.productGoogleAnalyticsConfigSchema = {
|
|
466
|
+
type: 'object',
|
|
467
|
+
properties: {
|
|
468
|
+
includeInDevelopment: { type: 'boolean' },
|
|
469
|
+
trackingId: { type: 'string' },
|
|
470
|
+
conversionId: { type: 'string' },
|
|
471
|
+
floodlightId: { type: 'string' },
|
|
472
|
+
optimizeId: { type: 'string' },
|
|
473
|
+
exclude: { type: 'array', items: { type: 'string' } },
|
|
474
|
+
},
|
|
475
|
+
additionalProperties: false,
|
|
476
|
+
required: ['trackingId'],
|
|
477
|
+
};
|
|
478
|
+
exports.googleAnalyticsConfigSchema = {
|
|
479
|
+
type: 'object',
|
|
480
|
+
properties: {
|
|
481
|
+
includeInDevelopment: { type: 'boolean' },
|
|
482
|
+
trackingId: { type: 'string' },
|
|
483
|
+
conversionId: { type: 'string' },
|
|
484
|
+
floodlightId: { type: 'string' },
|
|
485
|
+
head: { type: 'boolean' },
|
|
486
|
+
respectDNT: { type: 'boolean' },
|
|
487
|
+
exclude: { type: 'array', items: { type: 'string' } },
|
|
488
|
+
optimizeId: { type: 'string' },
|
|
489
|
+
anonymizeIp: { type: 'boolean' },
|
|
490
|
+
cookieExpires: { type: 'number' },
|
|
491
|
+
// All enabled tracking configs
|
|
492
|
+
trackers: {
|
|
493
|
+
type: 'object',
|
|
494
|
+
additionalProperties: exports.productGoogleAnalyticsConfigSchema,
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
additionalProperties: false,
|
|
498
|
+
required: ['trackingId'],
|
|
499
|
+
};
|
|
500
|
+
exports.analyticsConfigSchema = {
|
|
501
|
+
type: 'object',
|
|
502
|
+
properties: {
|
|
503
|
+
adobe: adobeAnalyticsConfigSchema,
|
|
504
|
+
amplitude: exports.amplitudeAnalyticsConfigSchema,
|
|
505
|
+
fullstory: exports.fullstoryAnalyticsConfigSchema,
|
|
506
|
+
heap: exports.heapAnalyticsConfigSchema,
|
|
507
|
+
rudderstack: exports.rudderstackAnalyticsConfigSchema,
|
|
508
|
+
segment: exports.segmentAnalyticsConfigSchema,
|
|
509
|
+
gtm: exports.gtmAnalyticsConfigSchema,
|
|
510
|
+
ga: exports.googleAnalyticsConfigSchema,
|
|
511
|
+
},
|
|
512
|
+
};
|
|
513
|
+
exports.userMenuConfigSchema = {
|
|
514
|
+
type: 'object',
|
|
515
|
+
properties: Object.assign({ items: {
|
|
516
|
+
type: 'array',
|
|
517
|
+
items: {
|
|
518
|
+
type: 'object',
|
|
519
|
+
properties: {
|
|
520
|
+
label: { type: 'string' },
|
|
521
|
+
external: { type: 'boolean' },
|
|
522
|
+
link: { type: 'string' },
|
|
523
|
+
separatorLine: { type: 'boolean' },
|
|
524
|
+
},
|
|
525
|
+
additionalProperties: true,
|
|
526
|
+
},
|
|
527
|
+
default: [],
|
|
528
|
+
}, hideLoginButton: { type: 'boolean' } }, hideConfigSchema.properties),
|
|
529
|
+
additionalProperties: false,
|
|
530
|
+
};
|
|
531
|
+
exports.versionPickerConfigSchema = {
|
|
532
|
+
type: 'object',
|
|
533
|
+
properties: {
|
|
534
|
+
hide: { type: 'boolean' },
|
|
535
|
+
showForUnversioned: {
|
|
536
|
+
type: 'boolean',
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
};
|
|
540
|
+
exports.breadcrumbsConfigSchema = {
|
|
541
|
+
type: 'object',
|
|
542
|
+
properties: {
|
|
543
|
+
hide: { type: 'boolean' },
|
|
544
|
+
prefixItems: {
|
|
545
|
+
type: 'array',
|
|
546
|
+
items: {
|
|
547
|
+
type: 'object',
|
|
548
|
+
properties: {
|
|
549
|
+
label: { type: 'string' },
|
|
550
|
+
labelTranslationKey: { type: 'string' },
|
|
551
|
+
page: { type: 'string' },
|
|
552
|
+
icon: { type: 'string' },
|
|
553
|
+
},
|
|
554
|
+
additionalProperties: false,
|
|
555
|
+
default: {},
|
|
556
|
+
},
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
additionalProperties: false,
|
|
560
|
+
};
|
|
561
|
+
exports.catalogFilterSchema = {
|
|
562
|
+
type: 'object',
|
|
563
|
+
additionalProperties: false,
|
|
564
|
+
required: ['title', 'property'],
|
|
565
|
+
properties: {
|
|
566
|
+
type: {
|
|
567
|
+
type: 'string',
|
|
568
|
+
enum: ['select', 'checkboxes', 'date-range'],
|
|
569
|
+
default: 'checkboxes',
|
|
570
|
+
},
|
|
571
|
+
title: { type: 'string' },
|
|
572
|
+
titleTranslationKey: { type: 'string' },
|
|
573
|
+
property: { type: 'string' },
|
|
574
|
+
parentFilter: { type: 'string' },
|
|
575
|
+
valuesMapping: { type: 'object', additionalProperties: { type: 'string' } },
|
|
576
|
+
missingCategoryName: { type: 'string' },
|
|
577
|
+
missingCategoryNameTranslationKey: { type: 'string' },
|
|
578
|
+
options: { type: 'array', items: { type: 'string' } },
|
|
579
|
+
},
|
|
580
|
+
};
|
|
581
|
+
exports.catalogSchema = {
|
|
582
|
+
type: 'object',
|
|
583
|
+
additionalProperties: true,
|
|
584
|
+
required: ['slug', 'items'],
|
|
585
|
+
properties: {
|
|
586
|
+
show: { type: 'boolean' },
|
|
587
|
+
slug: { type: 'string' },
|
|
588
|
+
filters: { type: 'array', items: exports.catalogFilterSchema },
|
|
589
|
+
groupByFirstFilter: { type: 'boolean' },
|
|
590
|
+
filterValuesCasing: {
|
|
591
|
+
type: 'string',
|
|
592
|
+
enum: ['sentence', 'original', 'lowercase', 'uppercase'],
|
|
593
|
+
},
|
|
594
|
+
items: exports.navItemsSchema,
|
|
595
|
+
requiredPermission: { type: 'string' },
|
|
596
|
+
separateVersions: { type: 'boolean' },
|
|
597
|
+
title: { type: 'string' },
|
|
598
|
+
titleTranslationKey: { type: 'string' },
|
|
599
|
+
description: { type: 'string' },
|
|
600
|
+
descriptionTranslationKey: { type: 'string' },
|
|
601
|
+
},
|
|
602
|
+
};
|
|
603
|
+
exports.catalogsConfigSchema = {
|
|
604
|
+
type: 'object',
|
|
605
|
+
patternProperties: {
|
|
606
|
+
'.*': exports.catalogSchema,
|
|
607
|
+
},
|
|
608
|
+
};
|
|
609
|
+
exports.scorecardConfigSchema = {
|
|
610
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassic,
|
|
611
|
+
description: 'Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.',
|
|
612
|
+
documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic',
|
|
613
|
+
type: 'object',
|
|
614
|
+
additionalProperties: true,
|
|
615
|
+
required: [],
|
|
616
|
+
properties: {
|
|
617
|
+
/**
|
|
618
|
+
* @deprecated Should use `reunite.ignoreLint` instead
|
|
619
|
+
*/
|
|
620
|
+
ignoreNonCompliant: { type: 'boolean', default: false },
|
|
621
|
+
teamMetadataProperty: {
|
|
622
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTeamMetadataProperty,
|
|
623
|
+
description: 'Provide custom team label and team metadata property.',
|
|
624
|
+
documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object',
|
|
625
|
+
type: 'object',
|
|
626
|
+
properties: {
|
|
627
|
+
property: { type: 'string' },
|
|
628
|
+
label: { type: 'string' },
|
|
629
|
+
default: { type: 'string' },
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
levels: {
|
|
633
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicLevelList,
|
|
634
|
+
description: 'List of levels to score against.',
|
|
635
|
+
type: 'array',
|
|
636
|
+
items: {
|
|
637
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicLevel,
|
|
638
|
+
documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic#level-object',
|
|
639
|
+
type: 'object',
|
|
640
|
+
required: ['name'],
|
|
641
|
+
properties: Object.assign({ name: { type: 'string' }, color: { type: 'string' } }, common_1.configGovernanceSchema),
|
|
642
|
+
additionalProperties: false,
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
targets: {
|
|
646
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTargetList,
|
|
647
|
+
description: 'Provide custom `minimumLevel` for specific targets.',
|
|
648
|
+
type: 'array',
|
|
649
|
+
items: {
|
|
650
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTarget,
|
|
651
|
+
type: 'object',
|
|
652
|
+
required: ['where'],
|
|
653
|
+
properties: {
|
|
654
|
+
minimumLevel: { type: 'string' },
|
|
655
|
+
rules: { type: 'object', additionalProperties: true },
|
|
656
|
+
where: {
|
|
657
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTargetWhere,
|
|
658
|
+
description: 'Specify which API descriptions to apply the `minimumLevel` to based on the metadata.',
|
|
659
|
+
documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic#where-object',
|
|
660
|
+
type: 'object',
|
|
661
|
+
required: ['metadata'],
|
|
662
|
+
properties: {
|
|
663
|
+
metadata: {
|
|
664
|
+
nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTargetWhereMetadata,
|
|
665
|
+
type: 'object',
|
|
666
|
+
additionalProperties: { type: 'string' },
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
additionalProperties: false,
|
|
670
|
+
},
|
|
671
|
+
},
|
|
672
|
+
additionalProperties: false,
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
ignore: {
|
|
676
|
+
type: 'array',
|
|
677
|
+
items: { type: 'string' },
|
|
678
|
+
},
|
|
679
|
+
fromProjectUrl: { type: 'string', format: 'uri' },
|
|
680
|
+
},
|
|
681
|
+
};
|
|
682
|
+
//# sourceMappingURL=ex-theme-config-schemas.js.map
|