From f946ae909bc3e58e41dc81e4493a4fb920567097 Mon Sep 17 00:00:00 2001 From: luevard Date: Thu, 8 Feb 2024 00:16:38 +0100 Subject: [PATCH] :sparkles: Add swaggerUrl --- Sources/src/main/kotlin/allin/Application.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/src/main/kotlin/allin/Application.kt b/Sources/src/main/kotlin/allin/Application.kt index 97e107c..65fcf00 100644 --- a/Sources/src/main/kotlin/allin/Application.kt +++ b/Sources/src/main/kotlin/allin/Application.kt @@ -38,7 +38,6 @@ private val allInDataSource: AllInDataSource = when (data_source) { val Application.dataSource: AllInDataSource get() = allInDataSource - fun main() { embeddedServer(Netty, port = 8080, host = "0.0.0.0") { extracted() @@ -65,6 +64,7 @@ private fun Application.extracted() { swagger { swaggerUrl = "swagger" rootHostPath= isCodeFirstContainer + swaggerUrl= "$isCodeFirstContainer/swagger" onlineSpecValidator() displayOperationId = true showTagFilterInput = true