@Override
protected Collection<Parameter> readParameters(RequestMappingContext context) {
HandlerMethod handlerMethod = context.getHandlerMethod();
Method method = handlerMethod.getMethod();
ApiImplicitParams annotation = AnnotationUtils.findAnnotation(method, ApiImplicitParams.class);
List<Parameter> parameters = Lists.newArrayList();
if (null != annotation) {
for (ApiImplicitParam param : annotation.value()) {
parameters.add(OperationImplicitParameterReader.getImplicitParameter(param));
}
}
return parameters;