forked from loafle/openapi-generator-original
[csharp] Make APIs partial classes
This commit is contained in:
parent
153af0c6cb
commit
726228a27d
@ -72,7 +72,7 @@ namespace {{packageName}}.Api
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a collection of functions to interact with the API endpoints
|
/// Represents a collection of functions to interact with the API endpoints
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class {{classname}} : I{{classname}}
|
public partial class {{classname}} : I{{classname}}
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="{{classname}}"/> class.
|
/// 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.
|
/// Sets the base path of the API client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The base path</value>
|
/// <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)
|
public void SetBasePath(String basePath)
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user