Annotation Type Produces
@Repeatable(ProducesGroup.class) @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Produces
Specifies a media type which would be produced by the service method or class.
Note that StandardCharsets.UTF_8
is used to produce the response when the specified media type is
MediaType.ANY_TEXT_TYPE
and the charset is not specified.