Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

TypeDeclaration validation result is List<RamlValidationResult> with only one result #635

Open
increatum opened this issue Jun 3, 2019 · 0 comments

Comments

@increatum
Copy link

increatum commented Jun 3, 2019

when validating JSON body of resource the result of validation is one error string with concatenation of all errors using new line and dash, for example:

[Error validating JSON. Error: - Invalid type String, expected Integer for clientId
- Invalid type String, expected Integer for ownershipPercentage
- Provided value 2017010100000000 is not compliant with the format date_only provided in rfc3339 for pacStartDate
- Invalid type String, expected Float for pacTotal
- Missing required field "dealerCode"]

each validation error should yield separate RamlValidationResult and should include error path

Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-35

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant