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