0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-15 07:16:47 +01:00
gitea/routers/api/v1/swagger
sillyguodong 2033eb7c11
Fix lint-swagger warning (#29787)
Caused by: #23106
Fix:
https://github.com/go-gitea/gitea/actions/runs/8274650046/job/22640335697

1. Delete `UserBadgeList` in `options.go`, because it wasn't used. (The
struct defined in `options.go` is the struct used to parse the request
body)
2. Move `BadgeList` struct under `routers/api/v1/swagger` folder which
response should be defined in.
2024-03-14 04:59:52 +00:00
..
action.go
activity.go
activitypub.go
app.go
cron.go
issue.go
key.go
misc.go
nodeinfo.go
notify.go
options.go Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
org.go
package.go
repo.go
settings.go
user.go Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00