minor domain updates

This commit is contained in:
James Tombleson 2024-04-03 16:09:31 -07:00
parent d9625e0b7d
commit 29f6dc0bb0
3 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,7 @@
package domain
type UserDto struct {
Id int `json:"id"`
Name string `json:"name"`
Scopes string `json:"scopes"`
}

View File

@ -3,3 +3,8 @@ package domain
type HelloBodyRequest struct {
Name string `json:"name" validate:"required"`
}
type AddScopeRequest struct {
Username string `json:"name"`
Scopes []string `json:"scopes" validate:"required"`
}