watson-developer-cloud / go-sdk

:mouse: go SDK for the IBM Watson services.
Apache License 2.0
71 stars 25 forks source link

feat(content-type): Request builder to not rely on content type #30

Closed ehdsouza closed 5 years ago

ehdsouza commented 5 years ago

related to https://github.ibm.com/Watson/developer-experience/issues/5930

The ContentType header parameter is required only if the x-content-type-required extension is set on the operation. So some operations with multiple consumes should not reply on content type to set the body in the request.

watson-github-bot commented 5 years ago

:tada: This PR is included in version 0.6.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: