Add support for application/pdf content type #815
jrobbins-LiveData
started this conversation in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I have a 3rd party schema describing an API which returns a PDF file with
content
application/pdf
Describe the solution you'd like
I'd like either to add the following line to
openapi-python-client/openapi_python_client/parser/responses.py
Line 23 in 3304030
or some interface to add that mapping myself.
Describe alternatives you've considered
I'm currently patching
_SOURCE_BY_CONTENT_TYPE
to workaround this.Beta Was this translation helpful? Give feedback.
All reactions