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

Claus Ibsen resolved CAMEL-20492.
---------------------------------
    Resolution: Fixed

> camel-core - Rest DSL with clientRequestValidation can support allowed values
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-20492
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20492
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, rest
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.6.0
>
>
> In RestBindingAdvice we can add support for allowed values if a query/header 
> parameter has defined this. Today we only check if the option is provided or 
> not.
> .param()
> .name("testparam")
> .type(RestParamType.query)
> .dataType("integer")
> .allowableValues("0,1,2,3,4")
> .required(true)
> .endParam()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to