Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// message
// Required: true
Message *string `json:"message"`
}
Error error swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GetUsersOKBody ¶
type GetUsersOKBody []*User
GetUsersOKBody get users o k body swagger:model getUsersOKBody
type SearchOKBody ¶
type SearchOKBody []*User
SearchOKBody search o k body swagger:model searchOKBody
type User ¶
type User struct {
// id
// Read Only: true
ID string `json:"_id,omitempty" bson:"_id"`
// created
Created string `json:"created,omitempty"`
// email
// Required: true
// Min Length: 3
Email *string `json:"email" bson:"email"`
// family name
// Required: true
// Min Length: 1
FamilyName *string `json:"familyName" bson:"familyName"`
// given name
// Required: true
// Min Length: 1
GivenName *string `json:"givenName" bson:"givenName"`
}
User user swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.