diff options
author | zeripath <art27@cantab.net> | 2020-05-21 02:15:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 22:15:30 -0300 |
commit | 3eb323901c6ec791294db492783e202558c2824f (patch) | |
tree | 0422f11c5089213dfb165deb24f9861353599c80 /templates/swagger/v1_json.tmpl | |
parent | b797b76abd13beba348415bdb81c7d3593bb01f9 (diff) | |
download | gitea-3eb323901c6ec791294db492783e202558c2824f.tar.gz gitea-3eb323901c6ec791294db492783e202558c2824f.zip |
Fix repo-list private and total count bugs (#11500)
* Fix repo-list private and total count bugs
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure limited and private org public repos are displayed on "private"
Signed-off-by: Andrew Thornton <art27@cantab.net>
* switch from onlyPrivate to is_private
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Generate swagger
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index a6b24ed970..b7fa714a64 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1771,8 +1771,8 @@ }, { "type": "boolean", - "description": "only include private repositories this user has access to (defaults to false)", - "name": "onlyPrivate", + "description": "show only pubic, private or all repositories (defaults to all)", + "name": "is_private", "in": "query" }, { |