Closed larsschilling closed 1 year ago
Connexion does not currently do a good job of handling XML. It doesn't know how to parse it, and would require some design changes to easily make that pluggable.
If you're planning to put some work in to add that capability, consider looking at #760 which splits out validation and serialization/deserialization logic by content type.
No longer reproducible
Description
I want to provide an API via openapi3 that accepts xml. unfortunately i get an error message at the post request, which i can't get any further at the moment.
Expected behaviour
Connection should work as expected and accept xml as requestbody.
Actual behaviour
When I try the fix 518d1dd i get the following error
Steps to reproduce
openapi.yml
request.http (restplugin vscode)
Additional info:
Output of the commands:
python --version
Python 3.6.8pip show connexion | grep "^Version\:"
Version: 2.4.0