From 7e4a82bcfb1714c4d7690fa3eebb971305de287f Mon Sep 17 00:00:00 2001 From: wing328 Date: Mon, 6 Jul 2015 11:18:05 +0800 Subject: [PATCH] add readme --- .../codegen/languages/CSharpClientCodegen.java | 1 + .../src/main/resources/csharp/README.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 modules/swagger-codegen/src/main/resources/csharp/README.md diff --git a/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/CSharpClientCodegen.java b/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/CSharpClientCodegen.java index 7582813af3..5833d7287c 100644 --- a/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/CSharpClientCodegen.java +++ b/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/CSharpClientCodegen.java @@ -112,6 +112,7 @@ public class CSharpClientCodegen extends DefaultCodegen implements CodegenConfig supportingFiles.add(new SupportingFile("Newtonsoft.Json.dll", "bin", "Newtonsoft.Json.dll")); supportingFiles.add(new SupportingFile("RestSharp.dll", "bin", "RestSharp.dll")); supportingFiles.add(new SupportingFile("compile.mustache", "", "compile.bat")); + supportingFiles.add(new SupportingFile("README.md", "", "README.md")); } diff --git a/modules/swagger-codegen/src/main/resources/csharp/README.md b/modules/swagger-codegen/src/main/resources/csharp/README.md new file mode 100644 index 0000000000..bbab203d23 --- /dev/null +++ b/modules/swagger-codegen/src/main/resources/csharp/README.md @@ -0,0 +1,15 @@ +## Frameworks supported +- .NET 3.5 or later +- Windows Phone 7.1 (Mango) + +## Dependencies +- [RestSharp] (https://www.nuget.org/packages/RestSharp) +- [Json.NET] (https://www.nuget.org/packages/Newtonsoft.Json/) + + +NOTE: The DLLs included in the package may not be the latest version. We recommned using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages: +``` +Install-Package RestSharp +Install-Package Newtonsoft.Json +``` +