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

   [CAMEL-23236](https://issues.apache.org/jira/browse/CAMEL-23236)
   
   ## Summary
   
   Follow-up to PR #23160 — completes the remaining items from the CAMEL-23236 
umbrella issue:
   
   - **`camel doc --example` flag**: Generates a minimal working YAML route 
snippet for any component. For consumer-capable components, generates a `from → 
log` route; for producer-only components, generates a `timer → component` 
route. Path parameters are filled with sensible defaults from the catalog.
   - **Shell banner camel-kit hint**: Adds `AI scaffold: plugin add kit` to the 
shell banner when no routes are found in the current directory, improving 
discoverability of the camel-kit plugin.
   
   ## Test plan
   
   - [x] New `CatalogDocTest` with 4 unit tests covering consumer, 
producer-only, and kafka components
   - [x] Verified standard doc output is unchanged when `--example` flag is not 
used
   - [x] All existing tests continue to pass
   
   _Claude Code on behalf of Guillaume Nodet_


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