[ 
https://issues.apache.org/jira/browse/SCB-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596976#comment-16596976
 ] 

ASF GitHub Bot commented on SCB-873:
------------------------------------

liubao68 commented on a change in pull request #884: [SCB-873] Make the 
validation result display the parameter name instead of arg0, arg1
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/884#discussion_r213882172
 
 

 ##########
 File path: 
swagger/swagger-invocation/invocation-validator/src/main/java/org/apache/servicecomb/swagger/invocation/validator/DefaultParameterNameProviderEx.java
 ##########
 @@ -0,0 +1,40 @@
+package org.apache.servicecomb.swagger.invocation.validator;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Method;
+import java.lang.reflect.Parameter;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import javax.validation.ParameterNameProvider;
+
+import org.apache.servicecomb.swagger.generator.core.utils.ParamUtils;
+
+
+public class DefaultParameterNameProviderEx implements ParameterNameProvider {
 
 Review comment:
   可以换个名字。比如ParameterParamenterNameProvider。这个是hibernate的实现,其实和它的实现功能是一样的。 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Make the validation result display the parameter name instead of arg0, arg1
> ---------------------------------------------------------------------------
>
>                 Key: SCB-873
>                 URL: https://issues.apache.org/jira/browse/SCB-873
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0
>            Reporter: WeiChao
>            Assignee: WeiChao
>            Priority: Major
>             Fix For: java-chassis-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to