Skip to content

Commit 7f69cc8

Browse files
committed
feat(): angular 10 module with providers compatibility
1 parent 5015876 commit 7f69cc8

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717

1818
Angular REST API client generator from Swagger YAML or JSON file with camel case settings
1919

20-
Generated files are compatible with Angular 6 (should be compatible with 5 version too).
21-
RxJS imports are targeted for version 6+.
22-
2320
![Logo](https://raw.githubusercontent.com/flowup/api-client-generator/master/api-client-generator-logo.png)
2421

2522
# Description
@@ -42,10 +39,17 @@ A lot of developers is struggling with how to properly use the REST API in their
4239

4340
# Compatibility
4441

45-
- **Angular 6+** (it should also work with 5 and 4.3+)
46-
- **RxJS 6** (Observable imports)
42+
This generator focuses on supporting latest Angular/RxJS versions.
43+
44+
- **Angular 9+**
45+
- **RxJS 6+** (Observable imports)
46+
4747
- in case of rxjs <6 please update or rewrite the rxjs imports to match the older version
4848

49+
## Older versions
50+
51+
If you need compatibility for Angular 7 and less, It might require some additional steps. In case of problems try editing necessary imports manually or downgrading to older generator versions (4.6.0 and bellow), although it is not recommended as patches and fixes might not be present in older versions.
52+
4953
See the [Changelog](https://github.com/flowup/api-client-generator/blob/master/CHANGELOG.md) to keep up with the features and changes.
5054

5155
# Usage
@@ -54,7 +58,7 @@ This command will generate API client described in the swagger.json file to the
5458

5559
`npx api-client-generator -s ./path/to/swagger.json -o ./output`
5660

57-
This command will do the same but it will split **all of the tags to separate API services** and models folder will be shared. All will be generated to specified path and that is `./src/api` folder.
61+
This command will do the same, but it will split **all of the tags to separate API services** and models folder will be shared. All will be generated to specified path and that is `./src/api` folder.
5862

5963
`npx api-client-generator -t all -s ./path/to/swagger.yaml -o ./src/api"`
6064

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"keywords": [
2626
"swagger",
2727
"rest",
28+
"angular10",
2829
"angular9",
2930
"angular8",
3031
"angular7",

0 commit comments

Comments
 (0)