You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/15 20:46:00 UTC

[jira] [Work started] (CAMEL-25392) camel-jbang - JSON output contract

     [ https://issues.apache.org/jira/browse/CAMEL-25392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-25392 started by Claus Ibsen.
-------------------------------------------
> camel-jbang - JSON output contract
> ----------------------------------
>
>                 Key: CAMEL-25392
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25392
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> * {{JsonOutput}} helper: exactly one JSON document on stdout; lists print {{[]}} when empty; errors print {{\{"status":"error","code":N,"message":...\}}} on stdout and exit with the same code (plain {{ERROR:}} also on stderr).
> * Fix broken {{--json}}: {{top route}}, {{top group}} (print a table), {{get health --trace}}, {{get route --error}}, {{infra run}}, {{infra get}}/{{infra stop}} (ignored), {{version list}} (ERROR line before JSON breaks MCP VersionTools), {{overview --save/--ai}}, catalog no-match text.
> * Add {{--json}} to {{doctor}} (OK/WARN/FAIL per check), {{validate}} (same {{\{status,file,errors[]\}}} shape as MCP camel_validate_source), {{doc}}, {{config get/list}}, {{plugin list}}, and data-returning {{cmd}} actions.
> _Claude Code on behalf of davsclaus (Claus Ibsen)_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)