Fix openapi filename
This commit is contained in:
1 parent
0253480b10
commit
36d60ce6a3
1 file changed
+1
-1
@@ -13,6 +13,6 @@ import io.ktor.util.KtorExperimentalAPI
|
||||
@KtorExperimentalAPI
|
||||
fun Route.definition() {
|
||||
get("/") {
|
||||
call.respondText("/openApi.yaml".readResource(), ContentType("text", "yaml"))
|
||||
call.respondText("/openapi.yaml".readResource(), ContentType("text", "yaml"))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user