1234567891011121314151617181920 |
- package v1
- type RegisterRequest struct {
- Email string `json:"email" binding:"required,email" example:"1234@gmail.com"`
- Password string `json:"password" binding:"required" example:"123456"`
- }
- type UpdateProfileRequest struct {
- Nickname string `json:"nickname" example:"alan"`
- Email string `json:"email" binding:"required,email" example:"1234@gmail.com"`
- }
- type GetProfileResponseData struct {
- UserId string `json:"userId"`
- Nickname string `json:"nickname" example:"alan"`
- }
- type GetProfileResponse struct {
- Response
- Data GetProfileResponseData
- }
|