Skip to content

Commit 0af1d29

Browse files
committed
fix swagger template
1 parent 176cee8 commit 0af1d29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

routers/api/v1/repo/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func ListIssues(ctx *context.APIContext) {
4545
// type: string
4646
// - name: labels
4747
// in: query
48-
// description: comma seperated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
48+
// description: comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
4949
// type: string
5050
// - name: page
5151
// in: query

templates/swagger/v1_json.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"version": "1.1.1"
2323
},
24-
"basePath": "/api/v1",
24+
"basePath": "{{AppSubUrl}}/api/v1",
2525
"paths": {
2626
"/admin/orgs": {
2727
"get": {
@@ -2061,7 +2061,7 @@
20612061
},
20622062
{
20632063
"type": "string",
2064-
"description": "comma seperated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded",
2064+
"description": "comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded",
20652065
"name": "labels",
20662066
"in": "query"
20672067
},
@@ -8925,4 +8925,4 @@
89258925
"SudoHeader": []
89268926
}
89278927
]
8928-
}
8928+
}

0 commit comments

Comments
 (0)