You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following Spring Framework's decision to use JSpecify for nullability annotations, I think it would be very interesting to add this support to Openapi Generator.
TL;TR JSpecify
In Java code, whether an expression may evaluate to null is often documented only in natural language, if at all. JSpecify's nullness annotations let programmers express the nullness of Java code in a consistent and well-defined way.
JSpecify defines annotations that describe whether a Java type contains the value null. Such annotations are useful to (for example):
programmers reading the code,
tools that help developers avoid NullPointerExceptions,
tools that perform run-time checking and test generation, and
documentation systems.
It would be possible to add an option in which it would be configurable the option to follow (jakarta or JSpecify).
What do you think?
The text was updated successfully, but these errors were encountered:
Following Spring Framework's decision to use JSpecify for nullability annotations, I think it would be very interesting to add this support to Openapi Generator.
It would be possible to add an option in which it would be configurable the option to follow (jakarta or JSpecify).
What do you think?
The text was updated successfully, but these errors were encountered: