Skip to content

Commit d2b8098

Browse files
committed
fix compilation errors in the C# client generator
1 parent 76d224f commit d2b8098

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CSharpNetCoreClientCodegen.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,6 @@ public void processOpts() {
691691
setNetCoreProjectFileFlag(true);
692692

693693
if (!additionalProperties.containsKey(CodegenConstants.NULLABLE_REFERENCE_TYPES) && !strategies.stream().anyMatch(s ->
694-
s.equals(FrameworkStrategy.NETCOREAPP_2_0) ||
695-
s.equals(FrameworkStrategy.NETCOREAPP_2_1) ||
696-
s.equals(FrameworkStrategy.NETCOREAPP_3_0) ||
697694
s.equals(FrameworkStrategy.NETCOREAPP_3_1) ||
698695
s.equals(FrameworkStrategy.NET_5_0) ||
699696
s.equals(FrameworkStrategy.NETFRAMEWORK_4_7))) {

0 commit comments

Comments
 (0)