minor domain updates
This commit is contained in:
parent
d9625e0b7d
commit
29f6dc0bb0
@ -1,4 +1,7 @@
|
|||||||
package domain
|
package domain
|
||||||
|
|
||||||
type UserDto struct {
|
type UserDto struct {
|
||||||
|
Id int `json:"id"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Scopes string `json:"scopes"`
|
||||||
}
|
}
|
||||||
|
@ -3,3 +3,8 @@ package domain
|
|||||||
type HelloBodyRequest struct {
|
type HelloBodyRequest struct {
|
||||||
Name string `json:"name" validate:"required"`
|
Name string `json:"name" validate:"required"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AddScopeRequest struct {
|
||||||
|
Username string `json:"name"`
|
||||||
|
Scopes []string `json:"scopes" validate:"required"`
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user