davsclaus opened a new pull request, #26732: URL: https://github.com/apache/camel/pull/26732
Fixes https://issues.apache.org/jira/browse/CAMEL-24888 (part of CAMEL-24886) On the HTTP rungs of the examples ladder (rest, http, rest-openapi) the local model failed 22 of 32 steps in the camel-jbang-mcp stepwise benchmark, and its refused writes cluster on seven shapes the validator did not name a fix for. Each gets a row, with the count of how often it was written: | shape | count | now says | |---|---|---| | `constant: null` to clear the body before a GET | 6 | constant is a text; write `setBody: {simple: {expression: "${null}"}}` | | `setExchangeProperty` (the closest schema name was `setExchangePattern`) | 4 | the EIP is `setProperty` (and `setProperties`, `removeProperty`, `setVariable` for the siblings) | | a double-quoted value never closed, `expression: "$[?(@.sku == '${header.sku}')]` | 5 | "line N: the value opens a double quote and never closes it", from the Jackson and the snakeyaml message alike | | `toD: {uri: ..., options: {...}}` | 2 | toD takes its options under `parameters:` like `to:`, or in the uri | | `library: jackson` | 2 | the library name is case sensitive: `Jackson` | | `jsonpath: {jsonPath: "..."}` | 2 | the text goes under `expression:` | | `rest-openapi` with a `path` option | 1 | a path parameter of the operation comes from a header of the same name | Tests: `YamlValidatorPropertyHintTest` (both schema modes) and `SourceValidatorPlaceholderTest`; the documentation example suites pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj -- 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]
