Change in /manifests/interface/capactio/capact/validation/action/update.yaml property type to e.g. hakuna-matata instead of string.
Execute validate once again:
capact manifest validate {HUB_MANIFEST_REPO_PATH}/manifests/**/*.yaml
Validating files in 5 concurrent jobs...
- ✗ "./manifests/interface/capactio/capact/validation/action/update.yaml":
* InterfaceValidator: properties.testString.type: Must validate at least one schema (anyOf)
* InterfaceValidator: properties.testString.type: properties.testString.type must be one of the following: "array", "boolean", "integer", "null", "number", "object", "string"
Validated 162 files in total.
Error: detected 2 validation errors
Description
Changes proposed in this pull request:
Testing
Implemented logic is covered with unit-test. To test it locally, run:
Checkout this branch and build CLI:
Clone
hub-manifests
repo:Execute manifest validate (without
server-side
):Introduce error in Interface JSONSchema:
Change in
/manifests/interface/capactio/capact/validation/action/update.yaml
property type to e.g.hakuna-matata
instead ofstring
.Execute validate once again:
Related issue(s)