From a6a88decfd0bb8c4151cb5614f4a19206a18439b Mon Sep 17 00:00:00 2001 From: wing328 Date: Mon, 4 Apr 2016 22:30:15 +0800 Subject: [PATCH] add a switch for excluding system.web for ump support --- .../src/main/resources/csharp/ApiClient.mustache | 2 ++ 1 file changed, 2 insertions(+) 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;