forked from loafle/openapi-generator-original
Ctor without parameters
This commit is contained in:
parent
9c736731f2
commit
8909641667
@ -93,6 +93,17 @@ namespace {{packageName}}.{{apiPackage}}
|
||||
ExceptionFactory = {{packageName}}.Client.Configuration.DefaultExceptionFactory;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="{{classname}}"/> class
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public {{classname}}()
|
||||
{
|
||||
this.Configuration = {{packageName}}.Client.Configuration.Default;
|
||||
|
||||
ExceptionFactory = {{packageName}}.Client.Configuration.DefaultExceptionFactory;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="{{classname}}"/> class
|
||||
/// using Configuration object
|
||||
|
Loading…
x
Reference in New Issue
Block a user