aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/TranslationApiController.php
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-09-19 14:12:17 +0200
committerjld3103 <jld3103yt@gmail.com>2023-09-27 08:05:21 +0200
commitc2d45cb1728e2191e51424734e74cb2a56b323b0 (patch)
tree0c46d10f4e5ef18bf0771069dd2a896da788b4ba /core/Controller/TranslationApiController.php
parent912b18b1fc9fd90bfc78f942cd2043a5a0145e69 (diff)
downloadnextcloud-server-c2d45cb1728e2191e51424734e74cb2a56b323b0.tar.gz
nextcloud-server-c2d45cb1728e2191e51424734e74cb2a56b323b0.zip
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'core/Controller/TranslationApiController.php')
-rw-r--r--core/Controller/TranslationApiController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Controller/TranslationApiController.php b/core/Controller/TranslationApiController.php
index 3f70a5bcb05..c4f3c8e855e 100644
--- a/core/Controller/TranslationApiController.php
+++ b/core/Controller/TranslationApiController.php
@@ -52,6 +52,8 @@ class TranslationApiController extends \OCP\AppFramework\OCSController {
* Get the list of supported languages
*
* @return DataResponse<Http::STATUS_OK, array{languages: array{from: string, fromLabel: string, to: string, toLabel: string}[], languageDetection: bool}, array{}>
+ *
+ * 200: Supported languages returned
*/
public function languages(): DataResponse {
return new DataResponse([