-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
I have the following dummy openapi schema adapted from a json schema generated by a real API. This schema cannot be parsed by openapi-fuzzer 0.1.3 (built from master commit 7da1471)
Schema:
{
"openapi": "3.0.2",
"info": {
"title": "Example",
"description": "Example",
"version": "0.0.1"
},
"paths": {
"/foo": {
"get": {
"operationId": "getFoo",
"summary": "Get list of foo",
"description": "Returns all the foo",
"produces": [
"application/json"
]
}
}
}
}
Error:
$ openapi-fuzzer -s ~/code/openapi.json -u http://localhost
Error: Failed to parse schema
Caused by:
paths: data did not match any variant of untagged enum ReferenceOr at line 8 column 12
Metadata
Metadata
Assignees
Labels
No labels