-
Notifications
You must be signed in to change notification settings - Fork 331
Validator hang on validation #44
New issue
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
Comments
@sginer Thanks for your schema and test json. I see you have a very big schema with over 30K lines and I remember there is another user had the same issue before with a very big schema. I think the problem is we are loading and compiling the entire schema into memory in order to speed up the validation and if the schema is too big, it might not be performing. I will create a test case and try to get it fixed; however, it will take some time as I have other projects that need urgent attentions. Let's keep this issue open until we have the result. |
This is the same issue like #28 but with test schema and test data to reproduce the issue. |
@stevehu |
@cncqycy Thanks for you schema. It helps us to narrow the focus. |
Hi @stevehu is this issue fixed in the latest release? I am having kind of same issue where there are additioanl $refs within a definition pointing to the parent definition. So some kindof cyclic dependency issue is there. Please let me know if you need any further details. Thanks |
I think this is fixed already. I have a test case for the circular Sep but it would be good if you could submit your test case to ensure that it works for your schema. Thanks. |
Hi @stevehu , thank you for your reply. I am providing the schema which is making the parser hang. It would be great if you can have a look. Thanks a lot for your time and help again { |
Also if it might help you, we are currently using 0.1.6 version @stevehu |
@aritrac Sorry. I fixed the json-overlay and openapi-parser for the circular dependencies. I need to find time to rewrite the json-schema-validator. Thanks. |
@stevehu No issues, please let me know any tentative time when you are planning for the next release for the json-schema-validator. Thanks for your efforts for the same. |
@stevehu would you please let us know if this bug is fixed? |
@aritrac This is still not fixed yet. I was planning to rewrite this library with json-overlay but need to get at least several days to do so. It is hard to squeeze at the moment and I have marked this as help wanted. Hopefully, someone from the community can take an action. Thanks. |
This should be addressed by @davidvisiedo in #180 |
Validator never comme back and give result.
I put schema and json file I used.
Regards
localfile.zip
The text was updated successfully, but these errors were encountered: