1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/routers/api/v1
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
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin Add a warning for disallowed email domains (#29658) 2024-03-11 06:07:36 +00:00
misc Fix wrong test usage of AppSubURL (#29459) 2024-02-29 03:39:24 +00:00
notify Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Refactor to use optional.Option for issue index search option (#29739) 2024-03-13 08:25:53 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
swagger Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
user Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00