You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added this just to keep in line with OpenAPI, so stubs can be generated from swagger.yaml without error.
You can have a requestBody for a DELETE but for some reason OpenApi doesn't allow it. OAI/OpenAPI-Specification#1801
You can close this issue if you feel it is their problem not ours @KtorZ
Well, request bodies on DELETE request is actually not forbidden by the RFC 7231 which specifies the HTTP/1.1 protocol. The only verb that for which a request body is strictly forbidden is HEAD.
It also seems that the OpenAPI specifications eventually changed their own design to allow this: OAI/OpenAPI-Specification#2117
https://github.com/input-output-hk/cardano-wallet/blob/e096e3403bdd94a67805ede25e2c3818fc875d7a/specifications/api/swagger.yaml#L2208
The text was updated successfully, but these errors were encountered: