davsclaus opened a new pull request, #23401:
URL: https://github.com/apache/camel/pull/23401

   ## Summary
   
   - The JBang command documentation generator 
(`PrepareCamelJBangCommandsMojo`) now supports picocli `@CommandLine.Mixin` 
fields, which were introduced in PR #23333 but caused mixin options to 
disappear from generated docs.
   - Options from mixin classes (`MavenResolverMixin`, `QuarkusPlatformMixin`, 
`QuarkusExtensionRegistryMixin`, `CamelUpdateMixin`) now appear in the 
generated metadata and documentation for all commands that use them (`run`, 
`export`, `doc`, `catalog *`, `version-list`, etc.).
   - Handles mixin inheritance, nested mixins, and mixin superclass options via 
recursive parsing.
   
   ## Test plan
   
   - [x] All existing plugin tests pass (46/46)
   - [x] Verified `camel-jbang-commands-metadata.json` now includes mixin 
options for `run`, `export`, `doc`, `catalog *`, `version-list`, and other 
affected commands
   - [x] Verified generated `.adoc` doc pages include the mixin options (e.g., 
`--download`, `--repo/--repos`, `--fresh`, `--quarkus-group-id`, 
`--quarkus-version`, `--quarkus-ext-registry`)
   - [x] Verified mixin inheritance works (`QuarkusPlatformMixin extends 
QuarkusExtensionRegistryMixin`)
   - [x] Verified nested mixins work (`CamelUpdateMixin` containing `@Mixin 
MavenResolverMixin`)
   
   _Claude Code on behalf of Claus Ibsen_


-- 
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]

Reply via email to