summaryrefslogtreecommitdiffstats
path: root/public/swagger.v1.json
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2018-04-20 11:13:50 +0200
committerBo-Yi Wu <appleboy.tw@gmail.com>2018-04-20 17:13:50 +0800
commit3506717e9c1cba08576e6dc861ea37e6417091e5 (patch)
tree1b67f1a5a5aa38d69203e9814c88f6eda6a52af2 /public/swagger.v1.json
parentcf8c2e5951bca4383b7259388f6dd2e8fa07fea8 (diff)
downloadgitea-3506717e9c1cba08576e6dc861ea37e6417091e5.tar.gz
gitea-3506717e9c1cba08576e6dc861ea37e6417091e5.zip
Add swagger check (#3811)
Diffstat (limited to 'public/swagger.v1.json')
-rw-r--r--public/swagger.v1.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/public/swagger.v1.json b/public/swagger.v1.json
index 5c3c21532f..dec618988b 100644
--- a/public/swagger.v1.json
+++ b/public/swagger.v1.json
@@ -4325,6 +4325,32 @@
}
}
},
+ "/topics/search": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "repository"
+ ],
+ "summary": "search topics via keyword",
+ "operationId": "topicSearch",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "id of the repo to get",
+ "name": "keyword",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/Repository"
+ }
+ }
+ }
+ },
"/user": {
"get": {
"produces": [