We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52960b8 commit d7e33efCopy full SHA for d7e33ef
1 file changed
modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java
@@ -5527,9 +5527,9 @@ public void testCollectionTypesWithDefaults_issue_collection() throws IOExceptio
5527
.collect(Collectors.toMap(File::getName, Function.identity()));
5528
5529
JavaFileAssert.assertThat(files.get("PetDto.java"))
5530
- .fileContains("private List<@Valid TagDto> tags;")
+ .fileContains("private @Nullable List<@Valid TagDto> tags;")
5531
.fileContains("private List<@Valid TagDto> tagsRequiredList = new ArrayList<>();")
5532
- .fileContains("private List<String> stringList;")
+ .fileContains("private @Nullable List<String> stringList;")
5533
.fileContains("private List<String> stringRequiredList = new ArrayList<>();");
5534
}
5535
0 commit comments