diff --git a/docs/generators/typescript-angular.md b/docs/generators/typescript-angular.md index c9b6786ea87..598f6c4a549 100644 --- a/docs/generators/typescript-angular.md +++ b/docs/generators/typescript-angular.md @@ -20,7 +20,7 @@ sidebar_label: typescript-angular |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| |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| |serviceFileSuffix|The suffix of the file of the generated service (service<suffix>.ts).| |.service| |modelSuffix|The suffix of the generated model.| |null| diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAngularClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAngularClientCodegen.java index 87850355e90..8f82c216d5b 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAngularClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAngularClientCodegen.java @@ -52,7 +52,7 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode public static final String STRING_ENUMS = "stringEnums"; 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 serviceSuffix = "Service"; protected String serviceFileSuffix = ".service";