Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloResponse ¶
type HelloResponse struct { // name Name string `json:"name,omitempty"` }
HelloResponse オブジェクトを別に定義してみるサンプル
swagger:model HelloResponse
func (*HelloResponse) MarshalBinary ¶
func (m *HelloResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelloResponse) UnmarshalBinary ¶
func (m *HelloResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterRequestBody ¶
type RegisterRequestBody struct { // first name FirstName string `json:"firstName,omitempty"` // last name LastName string `json:"lastName,omitempty"` // name // Required: true Name *string `json:"name"` }
RegisterRequestBody オブジェクトを別に定義してみるサンプル1
swagger:model RegisterRequestBody
func (*RegisterRequestBody) MarshalBinary ¶
func (m *RegisterRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterRequestBody) UnmarshalBinary ¶
func (m *RegisterRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.