Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17989

REST DSL YAML Generator uses incorrect 'to' tag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.16.0, 3.17.0
    • 3.17.0
    • tooling
    • None
    • Unknown

    Description

      starting from camel 3.16 REST DSL YAML looks like

      rest:
        get:
          - path: "/hello/{name}"
            to: "direct:hello"
      

      however camel-openapi-rest-dsl-generator generates

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

      instead

      Attachments

        Issue Links

          Activity

            People

              marat.gubaidullin@gmail.com Marat Gubaidullin
              marat.gubaidullin@gmail.com Marat Gubaidullin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: