aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo/git_ref.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/repo/git_ref.go')
-rw-r--r--routers/api/v1/repo/git_ref.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/git_ref.go b/routers/api/v1/repo/git_ref.go
index 29b126db9a..47f46df339 100644
--- a/routers/api/v1/repo/git_ref.go
+++ b/routers/api/v1/repo/git_ref.go
@@ -34,7 +34,7 @@ func GetGitAllRefs(ctx *context.APIContext) {
// required: true
// responses:
// "200":
- // "$ref": "#/responses/Reference"
+ // # "$ref": "#/responses/Reference" TODO: swagger doesnt support different output formats by ref
// "$ref": "#/responses/ReferenceList"
// "404":
// "$ref": "#/responses/notFound"
@@ -67,7 +67,7 @@ func GetGitRefs(ctx *context.APIContext) {
// required: true
// responses:
// "200":
- // "$ref": "#/responses/Reference"
+ // # "$ref": "#/responses/Reference" TODO: swagger doesnt support different output formats by ref
// "$ref": "#/responses/ReferenceList"
// "404":
// "$ref": "#/responses/notFound"