diff --git a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiClient.mustache b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiClient.mustache
index a428cdc3630..ea92989daa4 100644
--- a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiClient.mustache
+++ b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiClient.mustache
@@ -159,6 +159,7 @@ namespace {{packageName}}.Client
///
/// HTTP body (e.g. string, JSON).
/// Object type.
+ /// HTTP headers.
/// Object representation of the JSON string.
public object Deserialize(string content, Type type, IList headers=null)
{
diff --git a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiException.mustache b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiException.mustache
index 71d0243d729..dd618e0a99c 100644
--- a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiException.mustache
+++ b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/ApiException.mustache
@@ -20,7 +20,6 @@ namespace {{packageName}}.Client {
///
/// Initializes a new instance of the class.
///
- /// The base path.
public ApiException() {}
///
diff --git a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/api.mustache b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/api.mustache
index 2e51c913c30..c3fb85acb4f 100644
--- a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/api.mustache
+++ b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/api.mustache
@@ -9,6 +9,9 @@ using {{packageName}}.Client;
namespace {{packageName}}.Api
{
{{#operations}}
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
public interface I{{classname}}
{
{{#operation}}
@@ -16,7 +19,7 @@ namespace {{packageName}}.Api
/// {{summary}} {{notes}}
///
{{#allParams}}/// {{description}}
- {{/allParams}}/// {{#returnType}}{{{returnType}}}{{/returnType}}
+ {{/allParams}}/// {{#returnType}}{{returnType}}{{/returnType}}
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
{{/operation}}
}
@@ -71,7 +74,7 @@ namespace {{packageName}}.Api
///
/// Gets or sets the API client.
///
- /// An instance of the ApiClient
+ /// An instance of the ApiClient
public ApiClient ApiClient {get; set;}
{{#operation}}
@@ -79,7 +82,7 @@ namespace {{packageName}}.Api
/// {{summary}} {{notes}}
///
{{#allParams}}/// {{description}}
- {{/allParams}}/// {{#returnType}}{{{returnType}}}{{/returnType}}
+ {{/allParams}}/// {{#returnType}}{{returnType}}{{/returnType}}
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
{
{{#allParams}}{{#required}}
diff --git a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/compile-mono.sh.mustache b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/compile-mono.sh.mustache
index 73add75a69a..1e4e12b4aee 100644
--- a/modules/swagger-codegen/src/main/resources/CsharpDotNet2/compile-mono.sh.mustache
+++ b/modules/swagger-codegen/src/main/resources/CsharpDotNet2/compile-mono.sh.mustache
@@ -7,6 +7,6 @@ vendor/RestSharp.Net2.1.1.11/lib/net20/RestSharp.Net2.dll,\
System.Runtime.Serialization.dll \
-target:library \
-out:bin/{{packageName}}.dll \
--recurse:src/*.cs \
+-recurse:'src/*.cs' \
-doc:bin/{{packageName}}.xml \
--platform:anycpu
\ No newline at end of file
+-platform:anycpu
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/PetApi.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/PetApi.cs
index 7db0f993846..b09b31264c3 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/PetApi.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/PetApi.cs
@@ -8,6 +8,9 @@ using IO.Swagger.Model;
namespace IO.Swagger.Api
{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
public interface IPetApi
{
@@ -29,14 +32,14 @@ namespace IO.Swagger.Api
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
///
/// Status values that need to be considered for filter
- /// List
+ /// List<Pet>
List FindPetsByStatus (List status);
///
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
///
/// Tags to filter by
- /// List
+ /// List<Pet>
List FindPetsByTags (List tags);
///
@@ -124,7 +127,7 @@ namespace IO.Swagger.Api
///
/// Gets or sets the API client.
///
- /// An instance of the ApiClient
+ /// An instance of the ApiClient
public ApiClient ApiClient {get; set;}
@@ -212,7 +215,7 @@ namespace IO.Swagger.Api
/// Finds Pets by status Multiple status values can be provided with comma seperated strings
///
/// Status values that need to be considered for filter
- /// List
+ /// List<Pet>
public List FindPetsByStatus (List status)
{
@@ -252,7 +255,7 @@ namespace IO.Swagger.Api
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
///
/// Tags to filter by
- /// List
+ /// List<Pet>
public List FindPetsByTags (List tags)
{
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/StoreApi.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/StoreApi.cs
index c6c90631bef..ba269cc2b0c 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/StoreApi.cs
@@ -8,13 +8,16 @@ using IO.Swagger.Model;
namespace IO.Swagger.Api
{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
public interface IStoreApi
{
///
/// Returns pet inventories by status Returns a map of status codes to quantities
///
- /// Dictionary
+ /// Dictionary<String, int?>
Dictionary GetInventory ();
///
@@ -90,14 +93,14 @@ namespace IO.Swagger.Api
///
/// Gets or sets the API client.
///
- /// An instance of the ApiClient
+ /// An instance of the ApiClient
public ApiClient ApiClient {get; set;}
///
/// Returns pet inventories by status Returns a map of status codes to quantities
///
- /// Dictionary
+ /// Dictionary<String, int?>
public Dictionary GetInventory ()
{
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/UserApi.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/UserApi.cs
index 3e3c8869d04..1374556698e 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/UserApi.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Api/UserApi.cs
@@ -8,6 +8,9 @@ using IO.Swagger.Model;
namespace IO.Swagger.Api
{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
public interface IUserApi
{
@@ -120,7 +123,7 @@ namespace IO.Swagger.Api
///
/// Gets or sets the API client.
///
- /// An instance of the ApiClient
+ /// An instance of the ApiClient
public ApiClient ApiClient {get; set;}
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiClient.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiClient.cs
index 56331e606a9..3041cde567e 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiClient.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiClient.cs
@@ -159,6 +159,7 @@ namespace IO.Swagger.Client
///
/// HTTP body (e.g. string, JSON).
/// Object type.
+ /// HTTP headers.
/// Object representation of the JSON string.
public object Deserialize(string content, Type type, IList headers=null)
{
diff --git a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiException.cs b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiException.cs
index ff0b4be791e..dfc5fd9fc03 100644
--- a/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiException.cs
+++ b/samples/client/petstore/csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient/src/main/CsharpDotNet2/IO/Swagger/Client/ApiException.cs
@@ -20,7 +20,6 @@ namespace IO.Swagger.Client {
///
/// Initializes a new instance of the class.
///
- /// The base path.
public ApiException() {}
///