From aafc828983c1fc90279c63e99efc9ac153567853 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 9 Jun 2024 02:01:11 +0200 Subject: [PATCH] fix: Fix spelling mistake --- src/main/kotlin/app/revanced/api/configuration/OpenAPI.kt | 2 +- .../app/revanced/api/configuration/routes/Announcements.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/api/configuration/OpenAPI.kt b/src/main/kotlin/app/revanced/api/configuration/OpenAPI.kt index 48bcb881..0719ebce 100644 --- a/src/main/kotlin/app/revanced/api/configuration/OpenAPI.kt +++ b/src/main/kotlin/app/revanced/api/configuration/OpenAPI.kt @@ -19,7 +19,7 @@ internal fun Application.configureOpenAPI() { spec = { OpenApiSpec( info = Info( - title = "Revanced API", + title = "ReVanced API", version = applicationVersion, description = "API server for ReVanced.", contact = Contact( diff --git a/src/main/kotlin/app/revanced/api/configuration/routes/Announcements.kt b/src/main/kotlin/app/revanced/api/configuration/routes/Announcements.kt index 814402c4..70a6bc01 100644 --- a/src/main/kotlin/app/revanced/api/configuration/routes/Announcements.kt +++ b/src/main/kotlin/app/revanced/api/configuration/routes/Announcements.kt @@ -299,7 +299,7 @@ private fun Route.installAnnouncementsRouteDocumentation() = installNotarizedRou get = GetInfo.builder { description("Get the announcements") - summary("Get announcement") + summary("Get announcements") response { responseCode(HttpStatusCode.OK) mediaTypes("application/json")