diff --git a/modules/swagger-codegen/src/main/resources/csharp/api.mustache b/modules/swagger-codegen/src/main/resources/csharp/api.mustache
index 2b3f224cfc5..9c0c08fe8ed 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/api.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/api.mustache
@@ -72,7 +72,7 @@ namespace {{packageName}}.Api
///
/// Represents a collection of functions to interact with the API endpoints
///
- public class {{classname}} : I{{classname}}
+ public partial class {{classname}} : I{{classname}}
{
///
/// Initializes a new instance of the class.
@@ -122,7 +122,7 @@ namespace {{packageName}}.Api
/// Sets the base path of the API client.
///
/// The base path
- [Obsolete("SetBasePath is deprecated, please do 'Configuraiton.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
+ [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
public void SetBasePath(String basePath)
{
// do nothing