Skip to content

Commit

Permalink
feat(dfx-openapi): upgrade to Angular 19
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafnik committed Dec 9, 2024
1 parent fa9a514 commit 016e830
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions libs/dfx-openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ This eliminates all of the following:
- ✅ Eliminates any types that hide bugs
- ✅ Also eliminates as type overrides that can also hide bugs

### Version compatibility

| Angular | dfx-bootstrap-table | openapi-typescript-helpers |
| ------- | ------------------- | -------------------------- |
| 19.x.x | 0.1.0 | \>=0.0.15 |
| 18.x.x | 0.0.3 | \>=0.0.15 |
| 18.x.x | 0.0.2 | 0.0.13 |

## Setup

Install this library along with [openapi-typescript](https://openapi-ts.dev/introduction):
Expand Down Expand Up @@ -154,10 +162,3 @@ The `get()` request shown needed the `params` object that groups [parameters by
If a required param is missing, or the wrong type, a type error will be thrown.

The `post()` and `put()` request required a `body` object that provided all necessary requestBody data.

## Support

| Platform | Support |
| -------------------------- | --------- |
| Angular | \>=18.0 |
| openapi-typescript-helpers | \>=0.0.13 |
2 changes: 1 addition & 1 deletion libs/dfx-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"directory": "libs/dfx-openapi"
},
"peerDependencies": {
"@angular/common": "18",
"@angular/common": "19",
"rxjs": "7",
"openapi-typescript-helpers": ">=0.0.15"
}
Expand Down

0 comments on commit 016e830

Please sign in to comment.