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

rest-dsl - Should check for required parameters generally

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.22.0
    • Component/s: camel-core, rest
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See SO

      https://stackoverflow.com/questions/50489713/camel-rest-dsl-required-param-ignored

      There is AFAIR a little bit of required validation. But we could might as well do this if the user has specified those in the rest-dsl. 

      Currently we rely a bit on the chosen http component to do its own validation. But since we have the rest-dsl contract at hand in the rest-dsl we should let camel-core figure this out.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: