From 57fcd55b54a0031dcb770afda586fbcd1b1cf6f2 Mon Sep 17 00:00:00 2001
From: olegd-superoffice <104191651+olegd-superoffice@users.noreply.github.com>
Date: Thu, 14 Mar 2024 22:28:09 +0100
Subject: [PATCH] Fix NSwag.ApiDescription.Client.targets (#4773)
Condition expression evaluation resulted in error when NSwagGenerateExceptionClasses is not defined.
Fixes #4633
---
.../NSwag.ApiDescription.Client.targets | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.targets b/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.targets
index 234b673567..b1f8ed7df4 100644
--- a/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.targets
+++ b/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.targets
@@ -19,7 +19,7 @@
$(_NSwagCommand) openapi2csclient /className:%(ClassName) /namespace:%(Namespace)
- %(Command) /GenerateExceptionClasses:false
+ %(Command) /GenerateExceptionClasses:false
%(Command) /input:"%(FullPath)" /output:"%(OutputPath)" %(Options)