diff --git a/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache b/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache index b67c65572f7..b47581357fb 100644 --- a/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache +++ b/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache @@ -6,7 +6,9 @@ using System.Text.RegularExpressions; using System.IO; using System.Web; using System.Linq; +{{^supportsUWP}} using System.Net; +{{/supportsUWP}} using System.Text; using Newtonsoft.Json; using RestSharp;