blst-security / cherrybomb

Stop half-done APIs! Cherrybomb is a CLI tool that helps you avoid undefined user behaviour by auditing your API specifications, validating them and running API security tests.
https://www.blstsecurity.com/cherrybomb
Apache License 2.0
1.08k stars 78 forks source link

thread 'main' panicked at 'No media types!' when running cherrybomb oas #85

Closed knyghtryda closed 1 year ago

knyghtryda commented 1 year ago

Describe the bug when attempting to run OAS on a openapi.json file I am getting this error message: thread 'main' panicked at 'No media types!', /Users/yanminhong/.cargo/registry/src/github.com-1ecc6299db9ec823/cherrybomb-swagger-0.1.0/src/path.rs:72:13

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context This openapi file was generated by exporting a postman collection and converting that to an openapi format.

DeliciousBounty commented 1 year ago

Hello @knyghtryda Can you give me more information? If you can send your OAS file, it will help us to recover the error.