mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00:00
feat: Improve response info description wording
This commit is contained in:
@@ -157,7 +157,7 @@ private fun Route.installAnnouncementRouteDocumentation() = installNotarizedRout
|
|||||||
description("The new announcement")
|
description("The new announcement")
|
||||||
}
|
}
|
||||||
response {
|
response {
|
||||||
description("When the announcement was created")
|
description("The announcement is created")
|
||||||
responseCode(HttpStatusCode.OK)
|
responseCode(HttpStatusCode.OK)
|
||||||
responseType<Unit>()
|
responseType<Unit>()
|
||||||
}
|
}
|
||||||
@@ -255,7 +255,7 @@ private fun Route.installAnnouncementArchiveRouteDocumentation() = installNotari
|
|||||||
description("Archive an announcement")
|
description("Archive an announcement")
|
||||||
summary("Archive announcement")
|
summary("Archive announcement")
|
||||||
response {
|
response {
|
||||||
description("When the announcement was archived")
|
description("The announcement is archived")
|
||||||
responseCode(HttpStatusCode.OK)
|
responseCode(HttpStatusCode.OK)
|
||||||
responseType<Unit>()
|
responseType<Unit>()
|
||||||
}
|
}
|
||||||
@@ -281,7 +281,7 @@ private fun Route.installAnnouncementUnarchiveRouteDocumentation() = installNota
|
|||||||
description("Unarchive an announcement")
|
description("Unarchive an announcement")
|
||||||
summary("Unarchive announcement")
|
summary("Unarchive announcement")
|
||||||
response {
|
response {
|
||||||
description("When announcement was unarchived")
|
description("The announcement is unarchived")
|
||||||
responseCode(HttpStatusCode.OK)
|
responseCode(HttpStatusCode.OK)
|
||||||
responseType<Unit>()
|
responseType<Unit>()
|
||||||
}
|
}
|
||||||
@@ -311,7 +311,7 @@ private fun Route.installAnnouncementIdRouteDocumentation() = installNotarizedRo
|
|||||||
description("The new announcement")
|
description("The new announcement")
|
||||||
}
|
}
|
||||||
response {
|
response {
|
||||||
description("When announcement was updated")
|
description("The announcement is updated")
|
||||||
responseCode(HttpStatusCode.OK)
|
responseCode(HttpStatusCode.OK)
|
||||||
responseType<Unit>()
|
responseType<Unit>()
|
||||||
}
|
}
|
||||||
@@ -322,7 +322,7 @@ private fun Route.installAnnouncementIdRouteDocumentation() = installNotarizedRo
|
|||||||
description("Delete an announcement")
|
description("Delete an announcement")
|
||||||
summary("Delete announcement")
|
summary("Delete announcement")
|
||||||
response {
|
response {
|
||||||
description("When the announcement was deleted")
|
description("The announcement is deleted")
|
||||||
responseCode(HttpStatusCode.OK)
|
responseCode(HttpStatusCode.OK)
|
||||||
responseType<Unit>()
|
responseType<Unit>()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user