papsign / Ktor-OpenAPI-Generator

Ktor OpenAPI/Swagger 3 Generator
Apache License 2.0
241 stars 42 forks source link

Support application/x-www-form-urlencoded content type #117

Closed kkalisz closed 2 years ago

kkalisz commented 2 years ago

This will add support for application/x-www-form-urlencoded content type in post requests.

Changes are backward compatible, I have also added tests. Maybe It will be good to add some additional validations like ensure that no one defines file upload as form-urlencoded. Just let me know what you think.

Regards