The import org.springframework.lang.Nullable is hardcoded into the templates:
- api.mustache
- apiController.mustache
- apiDelegate.mustache
- libraries/spring-http-interface/api.mustache
Importing this way ignores import mappings.
For example, in our generation we use
importMappings:
Nullable: jakarta.annotation.Nullable
which replaces all imports properly except the new hardcoded ones.
This was introduced by #21202.
The import
org.springframework.lang.Nullableis hardcoded into the templates:Importing this way ignores import mappings.
For example, in our generation we use
which replaces all imports properly except the new hardcoded ones.
This was introduced by #21202.