Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequest ¶
type BadRequest struct { // message Message string `json:"message,omitempty"` }
BadRequest bad request
swagger:model BadRequest
func (*BadRequest) MarshalBinary ¶
func (m *BadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BadRequest) UnmarshalBinary ¶
func (m *BadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExtendedError ¶
type ExtendedError struct { // code Code int64 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
ExtendedError extended error
swagger:model ExtendedError
func (ExtendedError) Error ¶
func (o ExtendedError) Error() string
func (*ExtendedError) MarshalBinary ¶
func (m *ExtendedError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtendedError) UnmarshalBinary ¶
func (m *ExtendedError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBookInput ¶
type GetBookInput struct {
ID int64
}
GetBookInput holds the input parameters for a getBook operation.
func (GetBookInput) Path ¶
func (i GetBookInput) Path() (string, error)
Path returns the URI path for the input.
func (GetBookInput) Validate ¶
func (i GetBookInput) Validate() error
Validate returns an error if any of the GetBookInput parameters don't satisfy the requirements from the swagger yml file.
type InternalError ¶
type InternalError struct { // code Code int64 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
InternalError internal error
swagger:model InternalError
func (InternalError) Error ¶
func (o InternalError) Error() string
func (*InternalError) MarshalBinary ¶
func (m *InternalError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InternalError) UnmarshalBinary ¶
func (m *InternalError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotFound ¶
type NotFound struct { // message Message string `json:"message,omitempty"` }
NotFound not found
swagger:model NotFound
func (*NotFound) MarshalBinary ¶
MarshalBinary interface implementation
func (*NotFound) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UnknownResponse ¶
type UnknownResponse struct { // body Body string `json:"body,omitempty"` // status code StatusCode int64 `json:"statusCode,omitempty"` }
UnknownResponse unknown response
swagger:model UnknownResponse
func (UnknownResponse) Error ¶
func (u UnknownResponse) Error() string
func (*UnknownResponse) MarshalBinary ¶
func (m *UnknownResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnknownResponse) UnmarshalBinary ¶
func (m *UnknownResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation