OASDIFF Circular Dependency problem. #387
Replies: 3 comments 4 replies
-
Hi @darshil594 |
Beta Was this translation helpful? Give feedback.
-
Hi @reuvenharrison , I have the similar schema. And using the same command line oasdiff diff file1.json file2.json --format html > op.html. There are many #ref used within the JSON, and the JSON file itself is quite large. Is there a possibility of encountering a heap memory issue due to this? If so, can we modify the heap memory allocation to address it? |
Beta Was this translation helpful? Give feedback.
-
This is just a guess, but try setting |
Beta Was this translation helpful? Give feedback.
-
I'm currently using OASDiff to track changes in a Swagger REST API, and I've encountered an issue with circular dependencies in my JSON schema. Unfortunately, I can't modify the JSON schema to resolve these circular dependencies.
Error: failed to load base spec from "FILENAME.json" with kin-openapi bug found: circular schema reference not handled - #/A/B -> #/A/C -> #/A/C -> #/A/C -> #/A/C -> #/A/C -> #/A/C. Where A , B and C are classname.
s there any way to configure OASDiff to ignore this circular schema reference error and generate the output report anyway? I need to track API changes, and resolving the circular dependencies in the JSON schema is not currently an option.
Beta Was this translation helpful? Give feedback.
All reactions