Closed rngtng closed 7 months ago
Hey @rngtng, Thank you for taking the time to contact us. You are correct, We used to support the YAML OpenAPI file in previous versions. However, for the time being, we only support JSON files in this new release. Thank you to pay attention to us! It's already on our list of things to do. I will notify you once this feature is available.
Cool, thanks the fast feedback. No worries, there are enough yaml -> json converters out there…
This is fixed..?
Thank @jayvdb Yes it is fixed, and we also updated the crates. I close this issue
Describe the bug According to https://github.com/blst-security/cherrybomb/issues/19 yaml support should be there, but I couldn't get it working:
An OAS 3.1 file in yaml format raises error:
Same content as json works fine.
To Reproduce Steps to reproduce the behavior:
wget https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.1/non-oauth-scopes.yaml
cherrybomb --file non-oauth-scopes.yaml
But JSON works:
wget https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.1/non-oauth-scopes.json
cherrybomb --file non-oauth-scopes.json
Expected behavior YAML File gets successfully parsed
Version