Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct {
// required: true
// minimum: 1
ID int64 `json:"id"`
// required: true
// min length: 3
Firstname string `json:"firstname"`
}
swagger:model User represents the user for this application
A user is the security principal for this application.
type UsersResponse ¶
type UsersResponse struct {
// in: body
Body []User
}
UsersResponse is the list response.
swagger:response usersResponse
Click to show internal directories.
Click to hide internal directories.