forked from loafle/openapi-generator-original
typescript-angular: set angular version 8 as default for ngVersion (#3680)
* set angular version 8 as default for ngVersion * docs
This commit is contained in:
parent
01222268e8
commit
e5912b4925
@ -20,7 +20,7 @@ sidebar_label: typescript-angular
|
|||||||
|withInterfaces|Setting this property to true will generate interfaces next to the default class implementations.| |false|
|
|withInterfaces|Setting this property to true will generate interfaces next to the default class implementations.| |false|
|
||||||
|taggedUnions|Use discriminators to create tagged unions instead of extending interfaces.| |false|
|
|taggedUnions|Use discriminators to create tagged unions instead of extending interfaces.| |false|
|
||||||
|providedInRoot|Use this property to provide Injectables in root (it is only valid in angular version greater or equal to 6.0.0).| |false|
|
|providedInRoot|Use this property to provide Injectables in root (it is only valid in angular version greater or equal to 6.0.0).| |false|
|
||||||
|ngVersion|The version of Angular.| |7.0.0|
|
|ngVersion|The version of Angular.| |8.0.0|
|
||||||
|serviceSuffix|The suffix of the generated service.| |Service|
|
|serviceSuffix|The suffix of the generated service.| |Service|
|
||||||
|serviceFileSuffix|The suffix of the file of the generated service (service<suffix>.ts).| |.service|
|
|serviceFileSuffix|The suffix of the file of the generated service (service<suffix>.ts).| |.service|
|
||||||
|modelSuffix|The suffix of the generated model.| |null|
|
|modelSuffix|The suffix of the generated model.| |null|
|
||||||
|
@ -52,7 +52,7 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
|
|||||||
public static final String STRING_ENUMS = "stringEnums";
|
public static final String STRING_ENUMS = "stringEnums";
|
||||||
public static final String STRING_ENUMS_DESC = "Generate string enums instead of objects for enum values.";
|
public static final String STRING_ENUMS_DESC = "Generate string enums instead of objects for enum values.";
|
||||||
|
|
||||||
protected String ngVersion = "7.0.0";
|
protected String ngVersion = "8.0.0";
|
||||||
protected String npmRepository = null;
|
protected String npmRepository = null;
|
||||||
protected String serviceSuffix = "Service";
|
protected String serviceSuffix = "Service";
|
||||||
protected String serviceFileSuffix = ".service";
|
protected String serviceFileSuffix = ".service";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user