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
No config file was loaded to the scan, default configuration is being used
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
[1] 27024 abort cherrybomb oas -f ./mvr.json
Expected behavior
I would expect cherrybomb to identify the circular reference and warn on it.
Desktop (please complete the following information):
OS: MacOS
Version 12.x
Additional context
The json setup of the swagger file won't make much sense. I sanitised it, and reduced what was a ~9k line file into something as small as I was willing to go without spending too much time on it. It reliably reproduces the problem I was observing.
Discussed in discord.
The text was updated successfully, but these errors were encountered:
I am having the same issue - was looking for a OpenAPI 3 validator, found cherrybomb (which looks amazing) - but sadly it fails when the api-docs contains circular references, in my case, this is caused because we have schema's referencing each other because of two way relations stuff
Describe the bug
When trying to analyse a specific swagger.json file, cherrybomb exits with a stack overflow.
To Reproduce
Steps to reproduce the behavior:
cherrybomb oas -f ./mvr.json
mvr.json.zip
Expected behavior
I would expect cherrybomb to identify the circular reference and warn on it.
Desktop (please complete the following information):
Additional context
The json setup of the swagger file won't make much sense. I sanitised it, and reduced what was a ~9k line file into something as small as I was willing to go without spending too much time on it. It reliably reproduces the problem I was observing.
Discussed in discord.
The text was updated successfully, but these errors were encountered: