davsclaus opened a new pull request, #23393:
URL: https://github.com/apache/camel/pull/23393
## Summary
- Fix `YamlWriter` to recognize `rests` and `routeConfigurations` as root
container elements alongside `routes` and `dataFormats`. Without this, the YAML
dump produces empty objects like `rests: {}` or `routeConfigurations: {}`,
which breaks `camel validate normalize` for files containing REST DSL or
routeConfiguration blocks.
- Fix NPE in `YamlNormalizeCommand` by wiring up the `MavenResolverMixin`
(needed after CAMEL-23560 changes to `Run.java`).
## Test plan
- [x] All 82 existing `camel-yaml-io` tests pass
- [x] `camel validate normalize` correctly normalizes REST DSL files
- [x] `camel validate normalize` correctly normalizes routeConfiguration
files
- [x] `camel validate normalize` still works for regular route files
_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]