diff options
author | John Olheiser <john.olheiser@gmail.com> | 2022-08-30 21:15:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 21:15:45 -0500 |
commit | a48d6ba4b4be4207a2c78c36b095fb69938e5ae5 (patch) | |
tree | 6b77af95e14bb9216b6b5dca321a5804a63cfced /routers/api/v1/repo/git_ref.go | |
parent | 3edc14b687626f5ca1b4ecbe1d0d400b058f8dac (diff) | |
download | gitea-a48d6ba4b4be4207a2c78c36b095fb69938e5ae5.tar.gz gitea-a48d6ba4b4be4207a2c78c36b095fb69938e5ae5.zip |
Go 1.19 format (#20758)
* 1.19 gofumpt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Change CSV test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Commit whitespace fixes from @zeripath
Co-authored-by: zeripath <art27@cantab.net>
* Update emoji
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* bump swagger & fix generate-swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'routers/api/v1/repo/git_ref.go')
-rw-r--r-- | routers/api/v1/repo/git_ref.go | 4 |
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" |