From 36d60ce6a38a14fb5383bbfcb41061d164c314c7 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Mon, 11 May 2020 02:29:20 +0200 Subject: [PATCH] Fix openapi filename --- src/main/kotlin/fr/dcproject/routes/OpenAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/fr/dcproject/routes/OpenAPI.kt b/src/main/kotlin/fr/dcproject/routes/OpenAPI.kt index 861c010..7db42ea 100644 --- a/src/main/kotlin/fr/dcproject/routes/OpenAPI.kt +++ b/src/main/kotlin/fr/dcproject/routes/OpenAPI.kt @@ -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")) } }