-
-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify a custom Content-Type for Goa errors and MediaTypes, Types #694
Labels
Comments
It's possible today by using the var BottleMedia = MediaType("application/vnd.foo", func() {
ContentType("application/json")
// ...
} |
Here is an example:
Controller:
|
dobegor
added a commit
to dobegor/goa
that referenced
this issue
Aug 7, 2016
raphael
pushed a commit
that referenced
this issue
Aug 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Goa should provide a way to specify custom Content-Type instead of forcing RFC 6848. There are applications which don't respect that (i.e., swagger-codegen is producing Java client which fails to decode response).
Currently there is no way to do that.
The text was updated successfully, but these errors were encountered: