chore(deps): drop swagger:response duplicated by routers/api/v1/swagger

go-swagger 0.35.1 added a scan.shared-response-conflict diagnostic, and the
swagger target treats any output as an error. AccessToken and OAuth2Application
declared a response that routers/api/v1/swagger/app.go already declares under
the same name, which go-swagger dropped keep-first anyway, so the generated spec
is unchanged.

Response definitions live in routers/api/v1/swagger (130 of them, against 6 in
modules/structs), so the duplicates are removed there.

Assisted-by: Claude Code:Opus 5
This commit is contained in:
silverwind
2026-07-27 12:48:43 +02:00
parent d525cb8f2d
commit 9668d07f67

View File

@@ -9,7 +9,6 @@ import (
)
// AccessToken represents an API access token.
// swagger:response AccessToken
type AccessToken struct {
// The unique identifier of the access token
ID int64 `json:"id"`
@@ -53,7 +52,6 @@ type CreateOAuth2ApplicationOptions struct {
}
// OAuth2Application represents an OAuth2 application.
// swagger:response OAuth2Application
type OAuth2Application struct {
// The unique identifier of the OAuth2 application
ID int64 `json:"id"`