[ 
https://issues.apache.org/jira/browse/SCB-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haishi Yao resolved SCB-1472.
-----------------------------
    Fix Version/s: java-chassis-2.0.0
       Resolution: Fixed

> 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: Haishi Yao
>            Priority: Major
>             Fix For: java-chassis-2.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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.4#803005)

Reply via email to