summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorOtto <otto@codeberg.org>2024-08-13 17:37:53 +0200
committerOtto <otto@codeberg.org>2024-08-13 17:37:53 +0200
commit69eb8f32cbb2f543e48aa8b84e5e91ccdb0ce675 (patch)
tree4183e881b04808d2401c15e783489e3614ece441 /templates/swagger
parentMerge pull request '[gitea] week 2024-33 cherry pick (gitea/main -> forgejo)'... (diff)
parentfix(api): Correct descriptions for quota calls (diff)
downloadforgejo-69eb8f32cbb2f543e48aa8b84e5e91ccdb0ce675.tar.xz
forgejo-69eb8f32cbb2f543e48aa8b84e5e91ccdb0ce675.zip
Merge pull request 'fix(api): Clarify and correct descriptions for quota calls' (#4945) from fnetx/quota-api-language into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4945 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 276273d09a..cee797761f 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -670,7 +670,7 @@
"parameters": [
{
"type": "string",
- "description": "quota group to add a rule to",
+ "description": "quota group to remove a rule from",
"name": "quotagroup",
"in": "path",
"required": true
@@ -800,7 +800,7 @@
},
{
"type": "string",
- "description": "username of the user to add to the quota group",
+ "description": "username of the user to remove from the quota group",
"name": "username",
"in": "path",
"required": true
@@ -1465,13 +1465,13 @@
"parameters": [
{
"type": "string",
- "description": "username of the user to add to the quota group",
+ "description": "username of the user to modify the quota groups from",
"name": "username",
"in": "path",
"required": true
},
{
- "description": "quota group to remove a user from",
+ "description": "list of groups that the user should be a member of",
"name": "groups",
"in": "body",
"required": true,