Allow to specify charset in @Produces/@Consumes using attributes
Open
Component: server
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
The standard should allow to set charset in an easier way than doing string concatenation
```
@Produces("application/json; charset=UTF-8")
```
Something like this in case of a single MediaType
```
@Produces(type = MediaType.APPLICATION_JSON_TYPE, charset = StandardCharsets.UTF-8)
```
#### Affected Versions
[2.0.1]
Contributor guide
Assessment
This issue has not been assessed yet.