You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(typescript-angular): add support for Angular V19 (#20205)
* feat(typescript-angular): add support for Angular V19
fix#20204
* feat(typescript-angular): add options to override angular deps + refactor deps definition
add tsVersion, rxjsVersion, ngPackagrVersion and zonejsVersion options to override default config if new version of Angular is available but not yet implemented in openapi-generator
refactor Angular dependencies definition in separate readable yaml config file
fix#20204
* feat(typescript-angular): add better angular 19 exemple for ci testing
fix#20204
* feat(typescript-angular): unify tsVersion param
fix#20204
---------
Co-authored-by: Thibaud SOWA <[email protected]>
These options may be applied as additional-properties (cli) or configOptions (plugins). Refer to [configuration docs](https://openapi-generator.tech/docs/configuration) for more details.
@@ -33,7 +33,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
33
33
|modelFileSuffix|The suffix of the file of the generated model (model<suffix>.ts).||null|
34
34
|modelPropertyNaming|Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name. Only change it if you provide your own run-time code for (de-)serialization of models||original|
35
35
|modelSuffix|The suffix of the generated model.||null|
36
-
|ngVersion|The version of Angular. (At least 9.0.0)||18.0.0|
36
+
|ngPackagrVersion|The version of ng-packagr compatible with Angular (see ngVersion option).||null|
37
+
|ngVersion|The version of Angular. (At least 9.0.0)||19.0.0|
37
38
|npmName|The name under which you want to publish generated npm package. Required to generate a full package||null|
38
39
|npmRepository|Use this property to set an url your private npmRepo in the package.json||null|
39
40
|npmVersion|The version of your npm package. If not provided, using the version from the OpenAPI specification file.||1.0.0|
@@ -42,6 +43,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
42
43
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.||false|
43
44
|providedIn|Use this property to provide Injectables in wanted level.|<dl><dt>**root**</dt><dd>The application-level injector in most apps.</dd><dt>**none**</dt><dd>No providedIn)</dd><dt>**any**</dt><dd>Provides a unique instance in each lazy loaded module while all eagerly loaded modules share one instance.</dd><dt>**platform**</dt><dd>A special singleton platform injector shared by all applications on the page.</dd></dl>|root|
44
45
|queryParamObjectFormat|The format for query param objects: 'dot', 'json', 'key'.||dot|
46
+
|rxjsVersion|The version of RxJS compatible with Angular (see ngVersion option).||null|
45
47
|serviceFileSuffix|The suffix of the file of the generated service (service<suffix>.ts).||.service|
46
48
|serviceSuffix|The suffix of the generated service.||Service|
47
49
|snapshot|When setting this property to true, the version will be suffixed with -SNAPSHOT.yyyyMMddHHmm||false|
@@ -50,9 +52,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
50
52
|stringEnums|Generate string enums instead of objects for enum values.||false|
51
53
|supportsES6|Generate code that conforms to ES6.||false|
52
54
|taggedUnions|Use discriminators to create tagged unions instead of extending interfaces.||false|
55
+
|tsVersion|The version of typescript compatible with Angular (see ngVersion option).||null|
53
56
|useSingleRequestParameter|Setting this property to true will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter.||false|
54
57
|useSquareBracketsInArrayNames|Setting this property to true will add brackets to array attribute names, e.g. my_values[].||false|
55
58
|withInterfaces|Setting this property to true will generate interfaces next to the default class implementations.||false|
59
+
|zoneJsVersion|The version of zone.js compatible with Angular (see ngVersion option).||null|
0 commit comments