-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript-angular: support angular 9 #5370
typescript-angular: support angular 9 #5370
Conversation
also render in tempate module with providers
and commit result
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks a lot!
However, the samples need to be re-generated with the current version
...nerator/src/main/java/org/openapitools/codegen/languages/TypeScriptAngularClientCodegen.java
Outdated
Show resolved
Hide resolved
Wow one day after PR and already reviewed |
There's a typo in TypeScriptAngularClientCodegen.java#L335 which says |
@Veluria do you filing a PR with the fix when you've time? |
I can send a PR later. |
* fix code to support ng9 also render in tempate module with providers * execute script .\bin\windows\typescript-angular-petstore-all.bat and commit result * re-generate samples * remove whitespace, re-generate samples * re-generate samples * code cleanup Co-authored-by: Esteban Gehring <[email protected]>
@topce thanks for the PR, which has been included in the 4.3.0 release: https://twitter.com/oas_generator/status/1243455743937789952 |
Add support for angular 9
fix api.module.ts to generate
instead of
ModuleWithProviders
for more info check
migration-module-with-providers
fixes #5246
PR checklist
./bin/
(or Windows batch scripts under.\bin\windows
) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
if updating the code or mustache templates for a language ({LANG}
) (e.g. php, ruby, python, etc).master
,4.3.x
,5.0.x
. Default:master
.@TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @nicokoenig (2018/09) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02)