davsclaus opened a new pull request, #24803: URL: https://github.com/apache/camel/pull/24803
## Summary _Claude Code on behalf of davsclaus_ - Fix `RestOpenApiEndpoint.createProducerFor()` to include `produces`, `consumes`, `queryParameters`, and `producerComponentName` in the delegate `rest:` endpoint URI, so each unique combination gets its own cached endpoint - Previously, only `host` was included in the URI cache key, causing two rest-openapi endpoints targeting the same operation (same HTTP method + base path + URI template + host) to share one cached `RestEndpoint` singleton — the last `configureProperties()` call silently overwrote the first's configuration - Add two tests verifying that different `produces` values and different `queryParameters` values produce distinct delegate endpoints ## Test plan - [x] Existing 21 unit tests in `RestOpenApiEndpointV3Test` pass - [x] New test `shouldNotCrossContaminateProducersForSameOperation` verifies two endpoints with different `produces` get distinct delegate endpoints - [x] New test `shouldNotCrossContaminateQueryParameters` verifies two endpoints with different literal query parameter values get distinct delegate endpoints - [x] Full module test suite (139 tests) passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <[email protected]> -- 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]
