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
Just an simple example, when validate empty json with the following schema.
{ "type": "object", "properties": { "name": { "type": "string" } }, "allOf": [ { "required": [ "name" ] } ] }
In the validation message returned, we have the schemaPath "allOf/required". Should it be "#/allOf/0/required".
It seems when generating validation message behind allOf, the schemaPath is always partial and starts from allOf keyword only.
The text was updated successfully, but these errors were encountered:
We might not trace the element's position in the code. Could you please debug it and submit a PR to fix it?
Sorry, something went wrong.
Sure, can you give me access to the repo?
@htdan You can fork this repo into your org and then submit a PR from your repo. Thanks.
PR created @stevehu. Please check
No branches or pull requests
Just an simple example, when validate empty json with the following schema.
{ "type": "object", "properties": { "name": { "type": "string" } }, "allOf": [ { "required": [ "name" ] } ] }
In the validation message returned, we have the schemaPath "allOf/required". Should it be "#/allOf/0/required".
It seems when generating validation message behind allOf, the schemaPath is always partial and starts from allOf keyword only.
The text was updated successfully, but these errors were encountered: