matusf / openapi-fuzzer

Black-box fuzzer that fuzzes APIs based on OpenAPI specification. Find bugs for free!
GNU Affero General Public License v3.0
526 stars 22 forks source link

Mention OpenAPI specification version in README #15

Closed TobiasDeBruijn closed 2 years ago

TobiasDeBruijn commented 2 years ago

Hi,

Not much of an issue really, but it would be helpful I think. My webservers generate OpenAPI v2 specifications, which I tried feeding into this program, which didn't go too well. After some thinking I converted it to an OpenAPPI v3 spec, which did work.

It might be worth to mention the following in the README:

If wanted, I can open a PR for this. Thanks!

matusf commented 2 years ago

Hi, thanks for the suggestion. It should be indeed mentioned which OpenAPI versions are supported. As for the JSON vs YAML, it loads YAML, but since YAML is a superset of JSON, JSON should be fine as well. I agree, it would be more helpful, if it was mentioned explicitly in the readme.

TobiasDeBruijn commented 2 years ago

I'll open up a PR adding the version. I'll try if JSON works out of the box, if it doesn't I'll add that too.