abonstrom
Staff
4 years agoCan't add requestBody to GET call in OpenAPI 3.0
I have an existing API endpoint with a GET operation. The GET operation takes several parameters and I currently have those parameters being sent in the body of the request.
OpenAPI 3.0 no longer supports the requestBody object on GET requests (as seen here https://swagger.io/docs/specification/describing-request-body/), is there any way I can describe this API operation using OpenAPI 3.0 or does someone know of a workaround?
Unfortunately not. Imports only create new test cases. But there is an API you can use for this purpose, depending which version of ZS you're using: