Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPi swagger parser : unknown schema type: " #257

Open
shadobot opened this issue Sep 11, 2024 · 0 comments
Open

OpenAPi swagger parser : unknown schema type: " #257

shadobot opened this issue Sep 11, 2024 · 0 comments

Comments

@shadobot
Copy link

shadobot commented Sep 11, 2024

Hi,
We have this error when we run gotestWaf with this swagger :
outscale-no_oneof.txt

The attached file is an openAPI swagger file in yaml format

I don't see any error in swaggerHub could you please check the parser.

docker run --rm --network="host" -it -v ${PWD}/reports:/app/reports wallarm/gotestwaf --url=http://api.eu-west-2.outscale.com --openapiFile reports/outscale-no_oneof.yaml

INFO[0000] GoTestWAF started version=v0.5.5
ERRO[0000] caught error in main function error="couldn't create templates from OpenAPI file: couldn't parse request body schema: couldn't parse object: unknown schema type: "

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant