openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

Add a way to override content types

Open dbanty opened this issue 3 years ago • 0 comments

Add content_type_overrides or similar to the formats accepted by --config so that folks can redirect a specialized content type to one of the implementations that exist in this project.

Specifically, one might solve #592 by adding something like:

content_type_overrides:
    "application/vnd.api+json": "application/json"

See https://github.com/openapi-generators/openapi-python-client/discussions/655 for more info.

dbanty avatar Aug 21 '22 17:08 dbanty