Skip to content

Commit 211d97b

Browse files
committed
issue-20804: Add nullability annotations to Java generated clients
Motivation: Be able to use generated clients in code checked by tools like NullAway.
1 parent e7c2d4d commit 211d97b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,6 @@ public void testRestClientFormMultipart() {
26092609
TestUtils.assertFileContains(
26102610
output.resolve("src/main/java/xyz/abcdef/api/MultipartApi.java"),
26112611
// multiple files
2612-
"multipartArray(@jakarta.annotation.N",
26132612
"multipartArray(@jakarta.annotation.Nullable List<File> files)",
26142613
"formParams.addAll(\"files\","
26152614
+ " files.stream().map(FileSystemResource::new).collect(Collectors.toList()));",

0 commit comments

Comments
 (0)