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

camel-yaml-dsl: Add "additionalProperties: false" on every sub schema

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0-RC2
    • 4.1.0
    • camel-yaml-dsl
    • None
    • Unknown

    Description

      Currently the camel-yaml-dsl.json schema file doesn't have "additionalProperties: false" on each definitions. Since this property is "true" by default, if not explicitly specified to "false", schema validator allows arbitrary properties. In order to make this schema file work for validation, we'd want to add "additionalProperties: false" on every properties. The schema generator plugin already has that option.

      https://issues.apache.org/jira/browse/CAMEL-18829

      Attachments

        Issue Links

          Activity

            People

              igarashitm Tomohisa Igarashi
              igarashitm Tomohisa Igarashi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: