ResponseMessages responseMessages = findAnnotation(ResponseMessages.class, annotations);
List<SwaggerResponseMessage> rms = null;
if (responseMessages != null && responseMessages.value() != null) {
rms = new ArrayList<SwaggerResponseMessage>();
for (ResponseMessage responseMessage : responseMessages.value()) {
rms.add(new SwaggerResponseMessage(responseMessage.code(), responseMessage.message()));
}
}
String doc = getDescription(findAnnotation(Description.class, annotations));
List<String> produces = getValues(findAnnotation(Produces.class, annotations));