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

Ensure generated catalog is providing a valid json even if there is no description provided

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0.RC3
    • 3.1.0
    • camel-catalog
    • None
    • Unknown

    Description

      in case, no description is provided, it is taking the copyright header and it can insert several lines in the json files, which is not supported by the JSON format.

      see https://github.com/apache/camel-k-runtime/issues/203 for a real case

      on implementation it can be (one or several of these):

      • fail build if json is invalid in general
      • don't provide any description inside catalog, or an empty one if the javadoc is not put directly on the class component
      • fail build if the javadoc is not put directly on the class component

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            apupier Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: