Commit d284a9a
authored
* fix(spring): Add Nullable import for array-type models (#22788)
* refactor(spring): Extract helper methods for Nullable import logic (DRY)
* chore: Regenerate Spring samples after Nullable import fix
* Update sample files after regeneration
* Fix phpunit.xml.dist: replace literal backslashes with forward slashes in directory paths
* Add JavaDoc comment for addSpringNullableImportForOperation method
* Fix line endings: replace CRLF (\r\n) with LF (\n) in exampleJson string literals
* Remove unused Nullable imports from PR-related Spring sample files
* Revert date/time example value changes (regeneration artifacts)
* Fix: Skip Nullable import for enum models
1 parent de3bbd5 commit d284a9a
2 files changed
Lines changed: 61 additions & 10 deletions
File tree
- modules/openapi-generator/src
- main/java/org/openapitools/codegen/languages
- test/java/org/openapitools/codegen/java/spring
Lines changed: 28 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | 971 | | |
977 | 972 | | |
978 | 973 | | |
| |||
989 | 984 | | |
990 | 985 | | |
991 | 986 | | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
| 1055 | + | |
1060 | 1056 | | |
1061 | 1057 | | |
1062 | 1058 | | |
| |||
1219 | 1215 | | |
1220 | 1216 | | |
1221 | 1217 | | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
1222 | 1240 | | |
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6223 | 6223 | | |
6224 | 6224 | | |
6225 | 6225 | | |
| 6226 | + | |
| 6227 | + | |
| 6228 | + | |
| 6229 | + | |
| 6230 | + | |
| 6231 | + | |
| 6232 | + | |
| 6233 | + | |
| 6234 | + | |
| 6235 | + | |
| 6236 | + | |
| 6237 | + | |
| 6238 | + | |
| 6239 | + | |
| 6240 | + | |
| 6241 | + | |
| 6242 | + | |
| 6243 | + | |
| 6244 | + | |
| 6245 | + | |
| 6246 | + | |
| 6247 | + | |
| 6248 | + | |
| 6249 | + | |
| 6250 | + | |
| 6251 | + | |
| 6252 | + | |
| 6253 | + | |
| 6254 | + | |
| 6255 | + | |
| 6256 | + | |
| 6257 | + | |
| 6258 | + | |
6226 | 6259 | | |
0 commit comments