[csharp] Make APIs partial classes

This commit is contained in:
Jim Schubert 2016-05-12 20:56:56 -04:00
parent 153af0c6cb
commit 726228a27d

View File

@ -72,7 +72,7 @@ namespace {{packageName}}.Api
/// <summary>
/// Represents a collection of functions to interact with the API endpoints
/// </summary>
public class {{classname}} : I{{classname}}
public partial class {{classname}} : I{{classname}}
{
/// <summary>
/// Initializes a new instance of the <see cref="{{classname}}"/> class.
@ -122,7 +122,7 @@ namespace {{packageName}}.Api
/// Sets the base path of the API client.
/// </summary>
/// <value>The base path</value>
[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