diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-09-19 14:12:17 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-09-27 08:05:21 +0200 |
commit | c2d45cb1728e2191e51424734e74cb2a56b323b0 (patch) | |
tree | 0c46d10f4e5ef18bf0771069dd2a896da788b4ba /core/Controller/TextProcessingApiController.php | |
parent | 912b18b1fc9fd90bfc78f942cd2043a5a0145e69 (diff) | |
download | nextcloud-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/TextProcessingApiController.php')
-rw-r--r-- | core/Controller/TextProcessingApiController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Controller/TextProcessingApiController.php b/core/Controller/TextProcessingApiController.php index 89ef0d105fe..8b5175f0e5c 100644 --- a/core/Controller/TextProcessingApiController.php +++ b/core/Controller/TextProcessingApiController.php @@ -66,6 +66,8 @@ class TextProcessingApiController extends \OCP\AppFramework\OCSController { * This endpoint returns all available LanguageModel task types * * @return DataResponse<Http::STATUS_OK, array{types: array{id: string, name: string, description: string}[]}, array{}> + * + * 200: Task types returned */ #[PublicPage] public function taskTypes(): DataResponse { |