loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

Otto 69eb8f32 5a666916

+8 -8
+4 -4
routers/api/v1/admin/quota_group.go
··· 220 220 // required: true 221 221 // - name: username 222 222 // in: path 223 - // description: username of the user to add to the quota group 223 + // description: username of the user to remove from the quota group 224 224 // type: string 225 225 // required: true 226 226 // responses: ··· 255 255 // parameters: 256 256 // - name: username 257 257 // in: path 258 - // description: username of the user to add to the quota group 258 + // description: username of the user to modify the quota groups from 259 259 // type: string 260 260 // required: true 261 261 // - name: groups 262 262 // in: body 263 - // description: quota group to remove a user from 263 + // description: list of groups that the user should be a member of 264 264 // schema: 265 265 // "$ref": "#/definitions/SetUserQuotaGroupsOptions" 266 266 // required: true ··· 405 405 // parameters: 406 406 // - name: quotagroup 407 407 // in: path 408 - // description: quota group to add a rule to 408 + // description: quota group to remove a rule from 409 409 // type: string 410 410 // required: true 411 411 // - name: quotarule
+4 -4
templates/swagger/v1_json.tmpl
··· 670 670 "parameters": [ 671 671 { 672 672 "type": "string", 673 - "description": "quota group to add a rule to", 673 + "description": "quota group to remove a rule from", 674 674 "name": "quotagroup", 675 675 "in": "path", 676 676 "required": true ··· 800 800 }, 801 801 { 802 802 "type": "string", 803 - "description": "username of the user to add to the quota group", 803 + "description": "username of the user to remove from the quota group", 804 804 "name": "username", 805 805 "in": "path", 806 806 "required": true ··· 1465 1465 "parameters": [ 1466 1466 { 1467 1467 "type": "string", 1468 - "description": "username of the user to add to the quota group", 1468 + "description": "username of the user to modify the quota groups from", 1469 1469 "name": "username", 1470 1470 "in": "path", 1471 1471 "required": true 1472 1472 }, 1473 1473 { 1474 - "description": "quota group to remove a user from", 1474 + "description": "list of groups that the user should be a member of", 1475 1475 "name": "groups", 1476 1476 "in": "body", 1477 1477 "required": true,