Skip to content

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

Closed
bkielczewski opened this issue Nov 25, 2022 · 4 comments
Closed

Kotlin module for v2? #41

bkielczewski opened this issue Nov 25, 2022 · 4 comments
Labels
question Further information is requested

Comments

@bkielczewski
Copy link

In v2.0.0 there seems to be no Kotlin module, yet the doc mentions otherwise. Latest on Maven Central is 1.6.13.

@bnasslahsen
Copy link
Contributor

@bnasslahsen bnasslahsen added the question Further information is requested label Nov 25, 2022
@bkielczewski
Copy link
Author

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.

@bkielczewski
Copy link
Author

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)?

@bnasslahsen bnasslahsen transferred this issue from springdoc/springdoc-openapi Nov 25, 2022
@bnasslahsen bnasslahsen reopened this Nov 25, 2022
@bnasslahsen
Copy link
Contributor

bnasslahsen commented Nov 25, 2022

@bkielczewski,

I understand that your point is related to documentation.
I have updated it.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants