API should alway return application/json content type
Open
API
enhancement
size: 3
- Dominant language
- Go
- Stars
- 213
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
It only returns `application/json` if everything goes fine, otherwise would be `plain/txt` for now. We should always return json type even with exception as long as there is body.
Contributor guide
Assessment
This issue has not been assessed yet.