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

camel-restdsl-openapi-plugin - add basepath parameter

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      In the actual implementation of the restdsl-generator (version 3.9.0), the basepath is taken from the first server in the openapi document.
      In some cases, this leads to problems since sometimes openapi documents are received from multiple (also external) parties with multiple guidelines and servers (including mocks which do not fit in a commen schema).
      This feature extends the restdsl-generator taking an optional basepath parameter so developers can override the basepath taken from the document instead changing the document.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ex324 Christian Sanabria
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: