davsclaus opened a new pull request, #29580: URL: https://github.com/apache/camel/pull/29580
_Claude Code on behalf of davsclaus_ From walking the route, connect and contracts examples in the TUI. This commit was pushed to `tui-walk-examples` after #29535 had merged, so it is here on its own. - What happened shows a long route name in full when the strips leave room: `content-based-router`, not `content-based-rout…`, on a 200-column screen. - The route Camel adds to serve the API description of the REST DSL (`route1` from `rest-api://openapi`, in contracts/rest-code-first and contracts/openapi-server) is named by its endpoint on its strip: `rest-api:openapi`. - `AboutReport.baseUri` decodes the escapes Camel normalizes a URI with, so the runtime's `rest-openapi://stock-api.json%23reserveStock` is the `rest-openapi:stock-api.json#reserveStock` the route names. contracts/openapi-client had its out twice in About, once without its calls; `platform-http:///stock/%7Bsku%7D` matches `/stock/{sku}` the same way. Tests: `AboutTest` (encoded URIs), `AboutViewTest.aLongRouteNameIsShownInFullWhenTheStripsLeaveRoom`, `theRouteCamelAddsForTheApiDescriptionIsNamedByItsEndpoint`, `ObservedOutsTest.anOutTheRuntimeHasEncodedIsTheOneOfTheRoutes`. The TUI suite passes locally; checked live with the examples. đŸ¤– Generated with [Claude Code](https://claude.com/claude-code) -- 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]
