Closed steph0706 closed 3 years ago
To clarify, Steph is referring to this error that gets presented in the online Swagger Editor when you attempt to render a spec with a MULTIDELTE with a request body:
My gut reaction is that this is just a style warning - redoc seems to render such specs without complaining. I'll make sure our code-gen tools are work with this.
As far as I can tell there's no problems with MULTIDELETEs having request bodies. It's just Swagger voicing an opinion. All of our tooling appears to be working fine! Feel free to re-open if something goes awry.
High Priority
Describe The Bug when using MULTIDELETE, Reslang generates an openapi spec delete route with requestBody which isn't supported as noted in the HTTP RFC More context here: https://stackoverflow.com/a/54980985
To Reproduce Add MULTIDELETE operation to a Reslang resource and generate the openapi spec
Expected Behavior Generates working openapi delete route
Reslang Version
Master/Latest