Translate Chinese comments, log/error messages, validator labels and Swagger annotations to English throughout the source code, generated Swagger docs, config files and CI workflows. Make the English README primary: README.md now holds the English docs and README_EN.md holds the Chinese version, with cross-language links updated accordingly. Note: the generated docs/ swagger files were translated in place; run `go generate ./...` (swag init) to regenerate them from the now-English annotations when a Go toolchain is available. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
461 B
Go
15 lines
461 B
Go
package api
|
|
|
|
type OidcAuthRequest struct {
|
|
DeviceInfo DeviceInfoInLogin `json:"deviceInfo" label:"device info"`
|
|
Id string `json:"id" label:"id"`
|
|
Op string `json:"op" label:"op"`
|
|
Uuid string `json:"uuid" label:"uuid"`
|
|
}
|
|
|
|
type OidcAuthQuery struct {
|
|
Code string `json:"code" form:"code" label:"code"`
|
|
Id string `json:"id" form:"id" label:"id"`
|
|
Uuid string `json:"uuid" form:"uuid" label:"uuid"`
|
|
}
|