I've updated to Ktor 3.3.0 and now the openapi spe...
# ktor
f
I've updated to Ktor 3.3.0 and now the openapi specs are getting generated in
build/ktor/openapi
instead of
src/openapi
so it ends up not picked up by Swagger gen. Am I missing some config?
b
You'll just need to specify the resource location:
Copy code
openAPI(
       path = "/docs",
       swaggerFile = "openapi/generated.json"
)
Check the sample project
👍 1
f
@Bruce Hamilton Thank you. As I try new way for configuration it fails with Unresolved reference most of time (and classes that are not related to Ktor, e.g. JOOQ generated schema)