davsclaus commented on code in PR #23926:
URL: https://github.com/apache/camel/pull/23926#discussion_r3393770154
##########
components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java:
##########
@@ -90,7 +90,8 @@
* To call and expose REST services using OpenAPI specification as contract.
*/
@UriEndpoint(firstVersion = "3.1.0", scheme = "rest-openapi", title = "REST
OpenApi",
- syntax = "rest-openapi:specificationUri#operationId", category =
{ Category.REST, Category.API })
+ syntax = "rest-openapi:specificationUri#operationId", category =
{ Category.REST, Category.API },
+ lenientProperties = true)
Review Comment:
Adding `lenientProperties = true` enables `oauthProfile` pass-through to the
delegate consumer, but it also means **all** `rest-openapi` endpoint URIs will
now silently accept unknown/misspelled options. This is a behavioral change for
existing `rest-openapi` users who relied on strict option validation at startup.
Consider adding an explicit upgrade guide entry noting that `rest-openapi`
endpoint URIs are now lenient, separate from the `oauthProfile` documentation.
--
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]