private WebParamAnnotation getWebParamAnnotation(Operation operation, JavaParameter javaParameter) {
WebParamAnnotation webParamAnnotation = new WebParamAnnotation();
Parameter param = javaParameter.getParameter();
Request req = operation.getRequest();
Response res = operation.getResponse();
boolean header = isHeaderParam(param, req) ||
(res != null && isHeaderParam(param, res));
String name;