YaoHaishi created SCB-1472:
------------------------------

             Summary: Allow users to disable the param validation by 
configuration
                 Key: SCB-1472
                 URL: https://issues.apache.org/jira/browse/SCB-1472
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Java-Chassis
            Reporter: YaoHaishi


In org.apache.servicecomb.swagger.invocation.validator.ParameterValidator the 
parameters are checked before actually passed into the business logic method. 
Currently this feature always works, and users have no way to disable it even 
if it's not needed.
We should add a config item to allow users disable this function. The config 
key is "servicecomb.rest.parameter.validation.enabled", and the default value 
is "true", which means parameter validator is enabled by default.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to