aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-03-13 14:41:38 -0500
committerGitHub <noreply@github.com>2023-03-13 14:41:38 -0500
commit0a6f6354bbc03d4a3ad382a432113301e9ea9d86 (patch)
tree1207b1ba33343f2b3899027c1f46393f93bcd833 /templates
parentd74a7efb60f94a4b8e6e5f65332f94f1be31b761 (diff)
downloadgitea-0a6f6354bbc03d4a3ad382a432113301e9ea9d86.tar.gz
gitea-0a6f6354bbc03d4a3ad382a432113301e9ea9d86.zip
Purge API comment (#23451)
This PR just adds the `purge` query parameter to the swagger docs for admin user delete. Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index cb88e175ea..b64f6dcd87 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -493,6 +493,12 @@
"name": "username",
"in": "path",
"required": true
+ },
+ {
+ "type": "boolean",
+ "description": "purge the user from the system completely",
+ "name": "purge",
+ "in": "query"
}
],
"responses": {