-
Notifications
You must be signed in to change notification settings - Fork 44
Kotlin module for v2? #41
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
Comments
Ok, thanks, but https://springdoc.org/v2/#kotlin-support bit is confusing. This bit exactly (my use case): If you are using spring-webflux, you should combine the springdoc-openapi-kotlin module with springdoc-openapi-starter-webflux-ui. |
Also, springdoc-openapi-starter-common seems to be a dependency of springdoc-openapi-starter-webflux-ui, so that should be ok for Kotlin support. However, when I'm using suspend function on rest endpoint I get documentation for $completion parameter there. Should I file a bug report for regression (wasn't like that in v1)? |
I understand that your point is related to documentation. For the supend issue report, you can see for example this test: https://github.com/springdoc/springdoc-openapi/blob/2.x/springdoc-openapi-tests/springdoc-openapi-kotlin-tests/src/test/kotlin/test/org/springdoc/api/app3/SystemStatusController.kt The openAPI spec is generated just correctly. If you want to report an issue, just make sure you provide a Minimal, Reproducible Example - with HelloController that reproduces the problem |
In v2.0.0 there seems to be no Kotlin module, yet the doc mentions otherwise. Latest on Maven Central is 1.6.13.
The text was updated successfully, but these errors were encountered: