I'm using kotlin spring boot web mvc application. I've created an api-first file openapi.yml
that contains api description. Also I've added required dependencies, like:
- Gradle openapi generator plugin
id("org.openapi.generator") version "6.3.0"
- Openapi
implementation("org.springdoc:springdoc-openapi-ui:${libs.versions.openapi.get()}")
I've successfully generated apis / model with gradle generator from my file, but I need to make it as a template for swagger.
I've reviewed all the springfoc's settings and it seems, that I can only forward a generated documentation with a springdoc.swagger-ui.url
property.
Is there any way to initialized swagger from a openapi.yml
file manually?