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

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

@increatum

Description

@increatum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions