Marat Gubaidullin created CAMEL-17989:
-----------------------------------------

             Summary: REST DSL YAML Generator uses incorrect 'to' tag
                 Key: CAMEL-17989
                 URL: https://issues.apache.org/jira/browse/CAMEL-17989
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 3.16.0, 3.17.0
            Reporter: Marat Gubaidullin


starting from camel 3.16 REST DSL YAML looks like
{code:java}
rest:
  get:
    - path: "/hello/{name}"
      to: "direct:hello"
{code}

however camel-openapi-rest-dsl-generator generates 

{code:java}
rest:
  get:
    - path: "/hello/{name}"
      to: 
        uri: "direct:hello"
{code}
instead




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to