davsclaus opened a new pull request, #136:
URL: https://github.com/apache/camel-jbang-examples/pull/136
_Claude Code on behalf of davsclaus_
Found while walking the examples in the Camel TUI: the API description that
contracts/rest-code-first generates at `/openapi` said
```json
"servers": [ { "url": "http://0.0.0.0" } ]
```
which no client generated from it can call (no host, no port).
- `rest-code-first.camel.yaml`: `host: localhost` and `port:
"{{camel.server.port}}"` in the `restConfiguration`; the description now says
`http://localhost:8080`.
- `README.md`: one line on what `host` and `port` do for the description.
- `test/rest-code-first.citrus.it.yaml`: also checks `$.servers[0].url`.
Checked locally with Camel 4.24.0-SNAPSHOT: `camel validate yaml
--canonical` reports nothing, and `camel test run
test/rest-code-first.citrus.it.yaml` passes.
🤖 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]