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
with 1 endpoint which consumes 2 content-types: application/x-www-form-urlencoded and multipart/form-data.
After conversion to openAPI v3.0.x application/x-www-form-urlencoded content-type is missing.
I think this is a bug because conversion to openAPI v3.0.x at https://editor.swagger.io/ doesn't erase application/x-www-form-urlencoded content-type
The text was updated successfully, but these errors were encountered:
GreoGi
changed the title
swagger2openapi: missed request body conenttype after conversion from swagger v2 to openAPI v3.0.x
swagger2openapi: missed request body contenttype after conversion from swagger v2 to openAPI v3.0.x
Dec 16, 2021
Checklist
Other stuff
{ warnOnly: true, patch: true }
Detailed Description
I have simple swagger 2 doc: (click to reveal spoiler)
with 1 endpoint which consumes 2 content-types:
application/x-www-form-urlencoded
andmultipart/form-data
.After conversion to openAPI v3.0.x
application/x-www-form-urlencoded
content-type is missing.I also converted my swagger doc at https://mermade.org.uk/openapi-converter and saw same result
I think this is a bug because conversion to openAPI v3.0.x at https://editor.swagger.io/ doesn't erase
application/x-www-form-urlencoded
content-typeThe text was updated successfully, but these errors were encountered: