List<String> produces = getValues(findAnnotation(Produces.class, annotations));
List<String> consumes = getValues(findAnnotation(Consumes.class, annotations));
String notes = getValue(findAnnotation(Notes.class, annotations));
Boolean deprecated = findAnnotation(Deprecated.class, annotations) != null;
return new SwaggerOperation(httpMethod, opName, returnTypeInfo, params, rms, produces, consumes, doc, notes, deprecated);
}