abonstrom
4 years agoStaff
Can'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 lon...
- 3 years ago
GET call does not support request body according to HTTP definition (https://httpwg.org/specs/rfc7231.html#GET). Parameters should be passed with 'query parameter' or 'path parameter'. (https://swagger.io/docs/specification/describing-parameters/)