Define content type only if the body is not empty#9766
Define content type only if the body is not empty#9766wing328 merged 3 commits intoOpenAPITools:masterfrom
Conversation
|
Please update the samples via item3 in the PR checklist: https://github.com/OpenAPITools/openapi-generator/blob/master/.github/PULL_REQUEST_TEMPLATE.md so that the CI can test the change. |
How do I make the results of the Git Bash visible to you? Are there files to change/commit to? |
|
Yes please commit the changes in the sample as well. |
|
I have updated the samples folder. |
|
cc @taxpon (2017/07) @frol (2017/07) @mbohlool (2017/07) @cbornet (2017/09) @kenjones-cisco (2017/11) @tomplus (2018/10) @Jyhess (2019/01) @arun-nalla (2019/11) @spacether (2019/11) |
8410564 to
5203b0e
Compare
Content type is now only defined if the body is not empty. It used to define empty bodies and the default "application/json." This satisfies the request #8116. This change aims to change the python client only.
I ran the desired commands on Git Bash without errors, but I am still new to this so I might have missed a step somewhere, let me know if there is anything I missed.