diff options
author | John Olheiser <john.olheiser@gmail.com> | 2023-03-13 14:41:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 14:41:38 -0500 |
commit | 0a6f6354bbc03d4a3ad382a432113301e9ea9d86 (patch) | |
tree | 1207b1ba33343f2b3899027c1f46393f93bcd833 /templates | |
parent | d74a7efb60f94a4b8e6e5f65332f94f1be31b761 (diff) | |
download | gitea-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.tmpl | 6 |
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": { |