[
https://issues.apache.org/jira/browse/CAMEL-17308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-17308:
--------------------------------
Fix Version/s: 3.16.0
(was: 3.15.0)
> camel-yaml-dsl: REST
> --------------------
>
> Key: CAMEL-17308
> URL: https://issues.apache.org/jira/browse/CAMEL-17308
> Project: Camel
> Issue Type: Improvement
> Components: camel-yaml-dsl
> Reporter: Marat Gubaidullin
> Priority: Major
> Fix For: 3.16.0
>
>
> Current YAML REST DSL supports 2 ways of defining services:
> 1. verb-based
> {code:java}
> - rest:
> verb:
> - method: get
> uri: "/foo"
> {code}
> 2. method-based
> {code:java}
> - rest:
> get:
> - uri: "/foo"
> {code}
> Also mixed code seems legit and confusing
> {code:java}
> - rest:
> verb:
> - method: get
> uri: "/foo"
> get:
> - uri: "/getFoo"
> {code}
> Could we select the only one type of syntax in YAML DSL (ex. 2. method-based)?
> Otherwise it requires to support all of variants in tools like Karavan
> without additional value to end-user.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)