summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2023-09-27 09:18:25 +0200
committerGitHub <noreply@github.com>2023-09-27 09:18:25 +0200
commitf134244c90ab4aff3fa7758f8c548ebd89c6a256 (patch)
tree67e692cf1b2718e9fb75c102421642ada8f6ba8d /apps/user_ldap
parent6fb5f97abc63f1cf77921c6b4adb182b27793338 (diff)
parentc2d45cb1728e2191e51424734e74cb2a56b323b0 (diff)
downloadnextcloud-server-f134244c90ab4aff3fa7758f8c548ebd89c6a256.tar.gz
nextcloud-server-f134244c90ab4aff3fa7758f8c548ebd89c6a256.zip
Merge pull request #40502 from nextcloud/fix/openapi/single-status-descriptions
Add single status code descriptions for OpenAPI
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/Controller/ConfigAPIController.php2
-rw-r--r--apps/user_ldap/openapi.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Controller/ConfigAPIController.php b/apps/user_ldap/lib/Controller/ConfigAPIController.php
index f4161d0e9ff..5d54ba56401 100644
--- a/apps/user_ldap/lib/Controller/ConfigAPIController.php
+++ b/apps/user_ldap/lib/Controller/ConfigAPIController.php
@@ -67,6 +67,8 @@ class ConfigAPIController extends OCSController {
* @AuthorizedAdminSetting(settings=OCA\User_LDAP\Settings\Admin)
* @return DataResponse<Http::STATUS_OK, array{configID: string}, array{}>
* @throws OCSException
+ *
+ * 200: Config created successfully
*/
public function create() {
try {
diff --git a/apps/user_ldap/openapi.json b/apps/user_ldap/openapi.json
index 43d2d8016b5..34ef70ce78b 100644
--- a/apps/user_ldap/openapi.json
+++ b/apps/user_ldap/openapi.json
@@ -76,7 +76,7 @@
],
"responses": {
"200": {
- "description": "",
+ "description": "Config created successfully",
"content": {
"application/json": {
"schema": {