Aurélien Pupier created CAMEL-14238:
---------------------------------------

             Summary: Ensure generated catalog is providing a valid json even 
if there is no description provided
                 Key: CAMEL-14238
                 URL: https://issues.apache.org/jira/browse/CAMEL-14238
             Project: Camel
          Issue Type: Improvement
          Components: camel-catalog
    Affects Versions: 3.0.0.RC3
            Reporter: Aurélien Pupier


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to