RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.52k
stars
284
forks
source link
PUT body parameters not showing up in grammar #777
Description
This is the OpenAPI spec for the PUT request:
paths: { "/testing/{testingID}": { "put": { "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Testing" } } } } } }
The schema of Testing:
"Testing": { "type": "object", "properties": { "id": { "type": "string", }, "name": { "type": "string", }, "description": { "type": "string", } "required": [ "id", "name" ] }
However after compiling, this is the code in grammar.py: `request = requests.Request([
],
requestId="/testing/{testingID}"
)`