Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateGetBookByID2Input ¶ added in v0.5.0
ValidateGetBookByID2Input returns an error if the input parameter doesn't satisfy the requirements in the swagger yml file.
Types ¶
type BadRequest ¶ added in v0.4.0
type BadRequest struct { // message Message string `json:"message,omitempty"` }
BadRequest bad request swagger:model BadRequest
func (BadRequest) Error ¶ added in v0.4.0
func (o BadRequest) Error() string
type Book ¶
type Book struct { // author Author string `json:"author,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // other Other map[string]string `json:"other,omitempty"` }
Book book swagger:model Book
type Error ¶
type Error struct { // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
Error error swagger:model Error
type GetBookByID2Input ¶
type GetBookByID2Input struct {
ID string
}
GetBookByID2Input holds the input parameters for a getBookByID2 operation.
type GetBookByIDInput ¶
type GetBookByIDInput struct { BookID int64 AuthorID *string Authorization string RandomBytes *strfmt.Base64 }
GetBookByIDInput holds the input parameters for a getBookByID operation.
func (GetBookByIDInput) Validate ¶
func (i GetBookByIDInput) Validate() error
Validate returns an error if any of the GetBookByIDInput parameters don't satisfy the requirements from the swagger yml file.
type GetBooksInput ¶
type GetBooksInput struct { Authors []string Available *bool State *string Published *strfmt.Date SnakeCase *string Completed *strfmt.DateTime MaxPages *float64 MinPages *int32 PagesToTime *float32 }
GetBooksInput holds the input parameters for a getBooks operation.
func (GetBooksInput) Validate ¶
func (i GetBooksInput) Validate() error
Validate returns an error if any of the GetBooksInput parameters don't satisfy the requirements from the swagger yml file.
type HealthCheckInput ¶
type HealthCheckInput struct { }
HealthCheckInput holds the input parameters for a healthCheck operation.
func (HealthCheckInput) Validate ¶
func (i HealthCheckInput) Validate() error
Validate returns an error if any of the HealthCheckInput parameters don't satisfy the requirements from the swagger yml file.
type InternalError ¶ added in v0.4.0
type InternalError struct { // message Message string `json:"message,omitempty"` }
InternalError internal error swagger:model InternalError
func (InternalError) Error ¶ added in v0.4.0
func (o InternalError) Error() string
type Unathorized ¶ added in v0.6.0
type Unathorized struct { // message Message string `json:"message,omitempty"` }
Unathorized unathorized swagger:model Unathorized
func (Unathorized) Error ¶ added in v0.6.0
func (o Unathorized) Error() string