summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2018-10-18 09:44:51 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2018-10-18 16:44:51 +0800
commitdd62ca7ba9b49e799a8bea896cff1b209f813b7e (patch)
tree6d3ff7da203b6548195ddd37c205c5d5ba7453dc /templates
parent7bb4d610e5cca7ad514e377d2b36254a4cfee5b9 (diff)
downloadgitea-dd62ca7ba9b49e799a8bea896cff1b209f813b7e.tar.gz
gitea-dd62ca7ba9b49e799a8bea896cff1b209f813b7e.zip
Add support for search by uid (#4876)
Signed-off-by: Andrew Thornton <art27@cantab.net>
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 18fb34ff45..e6cdfc0270 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -5205,6 +5205,12 @@
},
{
"type": "integer",
+ "description": "ID of the user to search for",
+ "name": "uid",
+ "in": "query"
+ },
+ {
+ "type": "integer",
"description": "maximum number of users to return",
"name": "limit",
"in": "query"