Steps to reproduce:
1. Open REST docs for an endpoint that uses the @Produces annotation on class level
The section "Response formats" will not display the formats as defined by the @Produces annotation on class level.
Java defines the following behaviour:
"The @Produces annotation is used to specify the MIME media types or representations a resource can produce and send back to the client. If @Produces is applied at the class level, all the methods in a resource can produce the specified MIME types by default. If applied at the method level, the annotation overrides any @Produces annotations applied at the class level."
The REST docs should correctly display the Response formats.
Workaround (if any):