-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Kotlin-Server: Optional metrics and upgrade to Ktor 1.5.4 #9358
Conversation
I didn't see this PR initially. It also improves quite a few things but it's not recent enough and misses a few things. Whenever that PR gets merged I'd be happy to rebase this one onto it and fix it. |
Once both PRs are merged (i.e. after review and potential reworks), I will change the serialization mechanism to be configurable in order to allow using |
👌 I'll ping you here when #9088 gets merged. |
I've merged #9088 into |
Ok |
Question: |
Current master (patch release - no breaking changes) will be released soon. |
483bb18
to
9d12ff1
Compare
Rebased and re-targeted towards |
9d12ff1
to
fdad64c
Compare
@saschpe thanks for the update. cc @jimschubert (2017/09), @dr4ke616 (2018/08) @karismann (2019/03) @Zomzog (2019/04) @andrewemery (2019/10) @4brunu (2019/11) @yutaka0m (2020/03) |
fdad64c
to
a33ec6f
Compare
LGTM from Ktor side. |
The Travis-CI error looks unrelated but I lack the rights to re-build. |
It looks unrelated. |
Uhm, wouldn't it be enough for a project maintainer to press re-build on Travis-CI rather than creating confusion here? |
Sure, I was just trying to show you a quick way to restart CI. |
@jimschubert ping |
a33ec6f
to
0416414
Compare
Mhm, no real review progress here. Meanwhile, the |
Yes please rebase this one onto master. I'll try to review tomorrow or this weekend. |
0416414
to
6efab20
Compare
The Travis-CI error around |
Thanks, the remaining CI issues are not related to this PR 👍 |
6efab20
to
27967d6
Compare
.../openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinServerCodegen.java
Outdated
Show resolved
Hide resolved
I got the following when running
Command to generate code:
Can you please take a look when you've time? |
27967d6
to
7c13193
Compare
Should be fixed. |
Use Gradle 6.9 and Kotlin 1.4.32. Generate Paths for other HTTP verbs (OpenAPITools#828) and fix imports (OpenAPITools#5640). Use 'object' when no parameters are used. Introduce 'featureMetrics' to control metrics plugin usage. Remove HOCON configuration parsing. This is provided by `Application.environment.config already` and removes a dependency. Resolves OpenAPITools#9087, resolves OpenAPITools#828, resolves OpenAPITools#5640 Relates-To OpenAPITools#5346
7c13193
to
2e5326e
Compare
Anything left to do here? |
ping |
Tested again and it's now built successfully:
|
Use Gradle 6.9 and Kotlin 1.4.32. Generate Paths for other HTTP verbs (#828) and fix imports (#5640). Use 'object' when no parameters are used. Introduce 'featureMetrics' to control metrics plugin usage. Remove HOCON configuration parsing. This is provided by
Application.environment.config already
and removes a dependency.Resolves #9087, resolves #828, resolves #5640
Relates-To #5346
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
,5.1.x
,6.0.x
@jimschubert