mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00:00
build: Update Kompendium
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[versions]
|
||||
kompendium-core = "latest.release"
|
||||
kompendium-core = "3.14.4"
|
||||
kotlin = "2.0.0"
|
||||
logback = "1.4.14"
|
||||
exposed = "0.41.1"
|
||||
|
||||
@@ -16,8 +16,7 @@ import java.net.URI
|
||||
|
||||
internal fun Application.configureOpenAPI() {
|
||||
install(NotarizedApplication()) {
|
||||
spec = {
|
||||
OpenApiSpec(
|
||||
spec = OpenApiSpec(
|
||||
info = Info(
|
||||
title = "ReVanced API",
|
||||
version = applicationVersion,
|
||||
@@ -38,7 +37,6 @@ internal fun Application.configureOpenAPI() {
|
||||
"basic" to BasicAuth(),
|
||||
),
|
||||
),
|
||||
|
||||
).apply {
|
||||
servers += Server(
|
||||
url = URI("https://api.revanced.app"),
|
||||
@@ -50,7 +48,6 @@ internal fun Application.configureOpenAPI() {
|
||||
description = "Local ReVanced API server",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
schemaConfigurator = KotlinXSchemaConfigurator()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user