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

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

weichao666 commented on issue #914: [SCB-925] Springmvc, when have 
defaultValue, required should be false
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/914#issuecomment-422679172
 
 
   Springmvc, 
   Generating schema:
   1. if do not write defaultValue, required's value is what user write
   2. if have written defaultValue,No matter how the user writes,required is 
false
   
   running:
   1. When param is not transmitted,if required is true, report error
   2. When param is not transmitted , if required is false, handle it with 
defaultValue

----------------------------------------------------------------
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]


> Springmvc, when have defaultValue, required should be false
> -----------------------------------------------------------
>
>                 Key: SCB-925
>                 URL: https://issues.apache.org/jira/browse/SCB-925
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            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