diff options
author | David Svantesson <davidsvantesson@gmail.com> | 2019-08-24 05:17:10 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-08-23 23:17:10 -0400 |
commit | 26af3401c36e6316b81b92bf6a776bf2442d251c (patch) | |
tree | e1745d59e0fab4fa671e911cd7bc13f1623d7a6f /templates | |
parent | ce45a8c257bee0aba37ecb92d3eaaefe0153091c (diff) | |
download | gitea-26af3401c36e6316b81b92bf6a776bf2442d251c.tar.gz gitea-26af3401c36e6316b81b92bf6a776bf2442d251c.zip |
Document possibility to limit API Repo search to topics only. (#7957)
Signed-off-by: David Svantesson <davidsvantesson@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 2d5f8c5c9c..ee05345697 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1094,6 +1094,12 @@ "in": "query" }, { + "type": "boolean", + "description": "Limit search to repositories with keyword as topic", + "name": "topic", + "in": "query" + }, + { "type": "integer", "format": "int64", "description": "search only for repos that the user with the given id owns or contributes to", |