Skip to content

Commit 899ab35

Browse files
committed
Suppress nullability warning
1 parent 23d2b91 commit 899ab35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApi/src/OpenApiGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ private static OpenApiResponses GetOpenApiResponses(MethodInfo method, EndpointM
188188

189189
if (eligibileAnnotations.Count == 0)
190190
{
191-
GenerateDefaultResponses(eligibileAnnotations, responseType);
191+
GenerateDefaultResponses(eligibileAnnotations, responseType!);
192192
}
193193

194194
foreach (var annotation in eligibileAnnotations)

0 commit comments

Comments
 (0)