Hi

https://issues.apache.org/jira/browse/CAMEL-22640

I think it would be great if we use jspecify in the camel-api module to
document the Camel public API all the methods and parameters for null
safety. This is what JSpecify is all about. Other frameworks like Spring
has adopted it, and Quarkus may go there as well.

This should help both end users and LLM/AIs to better understand the Camel
java APIs and as such can both assist and produce better code.

There is a PR with work-in-progress
https://github.com/apache/camel/pull/22313



-- 
Claus Ibsen

Reply via email to