Skip to content

Commit 92dd5ca

Browse files
committed
add restsharp.dll, update compile.bat
1 parent 095771d commit 92dd5ca

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/CSharpClientCodegen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public CSharpClientCodegen() {
4646
supportingFiles.add(new SupportingFile("apiException.mustache",
4747
(sourceFolder + File.separator + invokerPackage).replace(".", java.io.File.separator), "ApiException.cs"));
4848
supportingFiles.add(new SupportingFile("Newtonsoft.Json.dll", "bin", "Newtonsoft.Json.dll"));
49+
supportingFiles.add(new SupportingFile("RestSharp.dll", "bin", "RestSharp.dll"));
4950
supportingFiles.add(new SupportingFile("compile.mustache", "", "compile.bat"));
5051

5152
languageSpecificPrimitives = new HashSet<String>(
147 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319
2-
%CSCPATH%\csc /reference:bin/Newtonsoft.Json.dll /target:library /out:bin/{{invokerPackage}}.dll /recurse:src\*.cs /doc:bin/{{invokerPackage}}.xml
2+
%CSCPATH%\csc /reference:bin/Newtonsoft.Json.dll;bin/RestSharp.dll /target:library /out:bin/{{invokerPackage}}.dll /recurse:src\*.cs /doc:bin/{{invokerPackage}}.xml
3+
147 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319
2-
%CSCPATH%\csc /reference:bin/Newtonsoft.Json.dll /target:library /out:bin/IO.Swagger.Client.dll /recurse:src\*.cs /doc:bin/IO.Swagger.Client.xml
2+
%CSCPATH%\csc /reference:bin/Newtonsoft.Json.dll;bin/RestSharp.dll /target:library /out:bin/IO.Swagger.Client.dll /recurse:src\*.cs /doc:bin/IO.Swagger.Client.xml
3+

0 commit comments

Comments
 (0)