Good morning all. Do anyone know if there exist the possibility, with the production ready part of the Spring Kotlin Dsl to make the openAPI plugins work? Or there exist any alternative solution? https://www.baeldung.com/spring-rest-openapi-documentation
b
Ben
06/29/2021, 5:57 PM
That plugin works fine with kotlin if that is what you are asking.
l
Luca Piccinelli
07/13/2021, 7:58 AM
Thank you for your answer. It work with Kotlin if you stay stick to the annotation style of Spring. But you you go for the new routing DSL, then this plugin (obviously) doesn't work anymore. So I was wondering if there exist any known alternative
d
Dušan Salay
12/14/2021, 4:35 PM
from version 1.5.9 of SpringDoc, Kotlin DSL for functional routes are supported.
The problem appears only if you try to use Kotlin DSL routing with coroutines.