Re: REST DSL: Request param validation possibilities & existing option "allowableValues" not working

2024-02-29 Thread Claus Ibsen
Hi Ad 1) https://issues.apache.org/jira/browse/CAMEL-20492 Ad 2) Whats the use for this this, can you provide more detail and some example Ad 3) You can write a custom processor / ben / interceptor and do your own validation - no need for pojo and all those crazy validation annotations. On Wed,

REST DSL: Request param validation possibilities & existing option "allowableValues" not working

2024-02-28 Thread Ja Li
Dear devs and users, I just stumbled upon the REST DSL validation part: https://camel.apache.org/manual/rest-dsl.html#_client_request_validation 1) In case I use the "camel-restdsl-openapi-plugin" (Maven plugin) to generate REST DSL routes from an openapi specification, e.g.: ... testParam: nam