SwaggerGlobalSettings swaggerGlobalSettings = (SwaggerGlobalSettings) context.get("swaggerGlobalSettings");
HandlerMethodResolver handlerMethodResolver
= new HandlerMethodResolver(swaggerGlobalSettings.getTypeResolver());
AlternateTypeProvider alternateTypeProvider = swaggerGlobalSettings.getAlternateTypeProvider();
List<ResolvedMethodParameter> methodParameters = handlerMethodResolver.methodParameters(handlerMethod);
List<Parameter> parameters = newArrayList();
List<Command<RequestMappingContext>> commandList = newArrayList();
commandList.add(new ParameterAllowableReader());
commandList.add(new ParameterDataTypeReader());