lhein opened a new pull request, #29308: URL: https://github.com/apache/camel/pull/29308
# Description Fixes https://issues.apache.org/jira/browse/CAMEL-26666 Option descriptions lose inline Javadoc text and meaningful punctuation during metadata generation. For example, `{@code foo*}` becomes `{code foo}` and `:?name` becomes `:name`. This affects generated documentation and Camel tooling solutions consuming the catalog. Unwrap `code` and `literal` tags before generic inline-link handling and preserve `?`, `*`, `+`, `[`, `]`, and `|`. Preserve existing XML and link handling. Escape comment terminators at the endpoint/component DSL rendering boundary so retained wildcards cannot terminate generated Java comments. The commits separate implementation and regression tests from regenerated catalog metadata, documentation, and DSL sources. The existing HeaderSupport integration test now checks a generated option description; its outdated resource path was corrected to include `META-INF`. `PrepareCamelJBangCommandsMojo` already reads command metadata and no longer applies the affected character filter, so its implementation is unchanged. Validation: - Full Maven regeneration build (`-Pregen -DskipTests -DskipITs install`), including a second `camel-catalog` pass. Launcher packaging was resumed successfully after a local temporary-storage quota error. - `-Psourcecheck` checks and tests for `camel-tooling-util`, `camel-package-maven-plugin`, `camel-api-component-maven-plugin`, `camel-endpointdsl`, `camel-componentdsl`, and `camel-catalog`: 1,370 passed; two existing manual memory-leak tests skipped. - HeaderSupport integration test (`-Psourcecheck invoker:run verify`): passed. - Regression tests failed with the original sanitizer and pass with the fix; the integration regression also reproduced the original `{code intervalSeconds=5}` output using upstream tooling-util sources. - All changed JSON values are descriptions. Changes in generated Java are limited to comments and description attributes. Catalog JSON `{code ` remnants reduced from 110 to zero. The full component runtime test suite was not run; validation focuses on the changed tooling and its generated catalog/DSL consumers. _AI-generated with OpenAI Codex on behalf of @lhein._ # Target - [x] Targets `apache/camel:main`. # Tracking - [x] Linked to CAMEL-26666. # Apache Camel coding standards and style - [x] Both commits have meaningful subject lines and bodies. - [x] Completed the full regeneration build and committed generated changes; validation details and test scope are listed above. # AI-assisted contributions - [x] Commits contain co-authorship trailers and this description identifies the AI tool and human operator. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
