Documentation ¶
Overview ¶
Package api contains routes, client models, and API related utilities. Models should be exported for go client consumption.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func ErrorHandler(err error, c echo.Context)
Types ¶
type DataBinder ¶ added in v0.0.10
type DataBinder struct{}
func (*DataBinder) Bind ¶ added in v0.0.10
func (b *DataBinder) Bind(i interface{}, c echo.Context) (err error)
type DefaultApplier ¶ added in v0.0.10
type DefaultApplier interface {
ApplyDefaults() error
}
type ValidationErrorResponse ¶
type ValidationErrorResponse struct { Message string `json:"message"` ValidationErrors map[string]string `json:"validationErrors,omitempty"` }
Note: This model is shared between API versions. Therefore any change here is breaking for all API versions.
Click to show internal directories.
Click to hide internal directories.