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.

Home Page:https://www.blstsecurity.com/cherrybomb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

knyghtryda opened this issue · comments

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):

  • OS: MacOS 12.6
  • Cherrybomb 0.7.1

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

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