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

camel-yaml-dsl - JSON library enum consistency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.20.5
    • 3.21.0, 4.0-RC1, 4.0.0
    • camel-yaml-dsl
    • None
    • Unknown

    Description

      In catalog/models/json.json library enum is lowercase [ "fastjson", "gson", "jackson", "johnzon", "jsonb" ]
      https://github.com/apache/camel/blob/1d298e18d7fc3c3017e386096abad0095e5dd8af/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json#LL19C6-L19C6

      In camelYamlDsl.json library enum is capitalized [ "Fastjson", "Gson", "Jackson", "Johnzon", "Jsonb" ]
      https://github.com/apache/camel/blob/1d298e18d7fc3c3017e386096abad0095e5dd8af/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json#L5226

      Which one is correct/canonical/recommended and could we sync them?

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            marat.gubaidullin@gmail.com Marat Gubaidullin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: