IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

fix: recognize vendor-specific JSON mimetypes #138

Closed padamstx closed 3 years ago

padamstx commented 3 years ago

This commit modifies the Go core response-handling code so that it recognizes vendor-specific JSON-based mimetypes (e.g. application/vnd.docker.distribution.manifest.v2+json) as being equivalent to "application/json" when deciding how to unmarshal an operation response body. Prior to this change, the Go core would treat such a response as an error.

ibm-devx-sdk commented 3 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: