We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce45a8c commit 26af340Copy full SHA for 26af340
routers/api/v1/repo/repo.go
@@ -51,6 +51,10 @@ func Search(ctx *context.APIContext) {
51
// in: query
52
// description: keyword
53
// type: string
54
+ // - name: topic
55
+ // in: query
56
+ // description: Limit search to repositories with keyword as topic
57
+ // type: boolean
58
// - name: uid
59
60
// description: search only for repos that the user with the given id owns or contributes to
templates/swagger/v1_json.tmpl
@@ -1093,6 +1093,12 @@
1093
"name": "q",
1094
"in": "query"
1095
},
1096
+ {
1097
+ "type": "boolean",
1098
+ "description": "Limit search to repositories with keyword as topic",
1099
+ "name": "topic",
1100
+ "in": "query"
1101
+ },
1102
{
1103
"type": "integer",
1104
"format": "int64",
0 commit comments