diff options
author | caicandong <50507092+CaiCandong@users.noreply.github.com> | 2023-07-24 16:48:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 10:48:44 +0200 |
commit | 4211efe8b7a0b38420da5c5d4f287a8d466aedc2 (patch) | |
tree | d715eeaf4e5aea6a9a76be2cf24c274a8b54be62 /templates | |
parent | cdd3d4b8d8814137e16116002e5bf6aad38b794f (diff) | |
download | gitea-4211efe8b7a0b38420da5c5d4f287a8d466aedc2.tar.gz gitea-4211efe8b7a0b38420da5c5d4f287a8d466aedc2.zip |
fix Missing 404 swagger response docs for /admin/users/{username} (#26086)
close #26079
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 7b3a616740..69874bdc75 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -620,6 +620,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } |