Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResponse ¶
type AddResponse struct {
// the unique id of the newly added item
// Required: true
ID *string `json:"id"`
// title of the newly added item
// Required: true
Title *string `json:"title"`
}
AddResponse add response swagger:model AddResponse
func (*AddResponse) MarshalBinary ¶
func (m *AddResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddResponse) UnmarshalBinary ¶
func (m *AddResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse string
ErrorResponse error response swagger:model ErrorResponse
type ListResponse ¶
type ListResponse struct {
// todo items
// Required: true
TodoItems []*ListResponseTodoItemsItems0 `json:"todoItems"`
}
ListResponse list response swagger:model ListResponse
func (*ListResponse) MarshalBinary ¶
func (m *ListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListResponse) UnmarshalBinary ¶
func (m *ListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListResponseTodoItemsItems0 ¶
type ListResponseTodoItemsItems0 struct {
// the unique id of the newly added item
// Required: true
ID *string `json:"id"`
// title of the newly added item
// Required: true
Title *string `json:"title"`
}
ListResponseTodoItemsItems0 list response todo items items0 swagger:model ListResponseTodoItemsItems0
func (*ListResponseTodoItemsItems0) MarshalBinary ¶
func (m *ListResponseTodoItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListResponseTodoItemsItems0) UnmarshalBinary ¶
func (m *ListResponseTodoItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveResponse ¶
type RemoveResponse struct {
// the unique id of the removed item
// Required: true
ID *string `json:"id"`
// title of the removed item
// Required: true
Title *string `json:"title"`
}
RemoveResponse remove response swagger:model RemoveResponse
func (*RemoveResponse) MarshalBinary ¶
func (m *RemoveResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveResponse) UnmarshalBinary ¶
func (m *RemoveResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation