You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, how to add custom error message (ex: Can contain only alphanumeric characters) for the attribute 'efgh56789' in above schema?
Note: The schema can be a nested schema where few of them are 'patternProperties' & few of them are regular ones.
patternProperties will catch all the properties that matches that pattern and anything else is considered additionalProperties so in my case I changed the error message of the additionalProperties and set its value to false to match my requirements
Is there any way where one can add custom error message for pathPattern attributes? Example:
Json schema:
Json:
Here, how to add custom error message (ex: Can contain only alphanumeric characters) for the attribute 'efgh56789' in above schema?
Note: The schema can be a nested schema where few of them are 'patternProperties' & few of them are regular ones.
I have asked the same question in SoF:
Ref: link
The text was updated successfully, but these errors were encountered: