aboutsummaryrefslogtreecommitdiff
path: root/server/swagger/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-17 12:50:23 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-17 12:51:03 +0100
commitce6e008426c30cba493832d0866950c59f7c31c1 (patch)
tree9140e4639575a4e83e77bb5004791a6c25600168 /server/swagger/build.gradle.kts
parente42bc6340771d87e2fb0263a4ad81528aeebec69 (diff)
downloadLocalTransactionLedger-ce6e008426c30cba493832d0866950c59f7c31c1.tar.gz
LocalTransactionLedger-ce6e008426c30cba493832d0866950c59f7c31c1.tar.bz2
LocalTransactionLedger-ce6e008426c30cba493832d0866950c59f7c31c1.zip
feat(server): Add openapi docs
Diffstat (limited to 'server/swagger/build.gradle.kts')
-rw-r--r--server/swagger/build.gradle.kts16
1 files changed, 16 insertions, 0 deletions
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))
+}