From ce6e008426c30cba493832d0866950c59f7c31c1 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 17 Jan 2025 12:50:23 +0100 Subject: feat(server): Add openapi docs --- server/swagger/build.gradle.kts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 server/swagger/build.gradle.kts (limited to 'server/swagger/build.gradle.kts') diff --git a/server/swagger/build.gradle.kts b/server/swagger/build.gradle.kts new file mode 100644 index 0000000..9ea7cb2 --- /dev/null +++ b/server/swagger/build.gradle.kts @@ -0,0 +1,16 @@ +plugins { + `java-library` + kotlin("jvm") + kotlin("plugin.serialization") +} + + +dependencies { + declareKtorVersion() + api("io.ktor:ktor-server-core") + api("sh.ondr:kotlin-json-schema:0.1.1") +} + +java { + toolchain.languageVersion.set(JavaLanguageVersion.of(21)) +} -- cgit