features/working-on-scopes #13

Merged
jtom38 merged 28 commits from features/working-on-scopes into main 2024-04-04 15:31:54 -07:00
3 changed files with 11 additions and 3 deletions
Showing only changes of commit 29f6dc0bb0 - Show all commits

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

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

View File

@ -1,8 +1,8 @@
package domain
type ErrorResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
Success bool `json:"success"`
Message string `json:"message"`
}
type HelloWhoResponse struct {