We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since current implementation is making use of sets in Python, dicts are not hashable, change would be needed to rectify this.
set
Example
"errors": { "type": "object", "properties": { "validationErrors": { "type": "array", "minItems": 0, "maxItems": 2, "uniqueItems": false, "items": [ { "type": "object", "$state": { "error": "lambda: random.choice([{'code':'3013','message':'Mandatory field is either Null or blank','field':'IDNumber'}, {'code':'2013','message':'Mandatory field is either Null or blank','field':'IDNumber'}])" }, "properties": { "code": { "type": "string", "description": "Error code from Digital gateway validation checks", "$provider": "lambda: state['validationErrors[0]']['error']['code']" }, "message": { "type": "string", "description": "", "$provider": "lambda: state['validationErrors[0]']['error']['message']" }, "field": { "type": "string", "description": "", "$provider": "lambda: state['validationErrors[0]']['error']['field']" } }, "required": ["code", "message", "field"] } ] } }, "required": ["validationErrors"] }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Since current implementation is making use of
set
s in Python, dicts are not hashable, change would be needed to rectify this.Example
The text was updated successfully, but these errors were encountered: