Skip to content

OpenAPi swagger parser : unknown schema type: " #257

Description

@shadobot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions