go-cook/api/domain/requests.go

11 lines
217 B
Go
Raw Normal View History

2024-03-31 17:46:04 -07:00
package domain
type HelloBodyRequest struct {
Name string `json:"name" validate:"required"`
2024-04-03 16:09:31 -07:00
}
type AddScopeRequest struct {
Username string `json:"name"`
Scopes []string `json:"scopes" validate:"required"`
}