You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/11/23 09:29:55 UTC
[GitHub] weichao666 commented on issue #1004: [SCB-925] Springmvc,
when have defaultValue, required should be false, when param not exist,
should check isRequired
weichao666 commented on issue #1004: [SCB-925] Springmvc, when have defaultValue, required should be false, when param not exist, should check isRequired
URL: https://github.com/apache/servicecomb-java-chassis/pull/1004#issuecomment-441191265
Springmvc,
Generating schema:
if do not write defaultValue, required's value is what user write
if have written defaultValue,No matter how the user writes,required is false
running:
When param is not transmitted,if required is true, report error
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:
users@infra.apache.org
With regards,
Apache Git Services