features/working-on-scopes #13
@ -4,7 +4,7 @@ type HelloBodyRequest struct {
|
|||||||
Name string `json:"name" validate:"required"`
|
Name string `json:"name" validate:"required"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AddScopeRequest struct {
|
type UpdateScopesRequest struct {
|
||||||
Username string `json:"name"`
|
Username string `json:"name"`
|
||||||
Scopes []string `json:"scopes" validate:"required"`
|
Scopes []string `json:"scopes" validate:"required"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user