Documentation ¶
Index ¶
Constants ¶
View Source
const SpecFile string = `` /* 523-byte string literal not displayed */
Variables ¶
Functions ¶
func SpecFileHandler ¶
Types ¶
type API ¶
type ErrParseParam ¶
func (ErrParseParam) Error ¶
func (e ErrParseParam) Error() string
func (ErrParseParam) Unwrap ¶
func (e ErrParseParam) Unwrap() error
type GetPetHandlerFunc ¶
type GetPetHandlerFunc func(r GetPetRequester) GetPetResponder
func (GetPetHandlerFunc) ServeHTTP ¶
func (f GetPetHandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
type GetPetRequest ¶
type GetPetRequester ¶
type GetPetRequester interface {
Parse() GetPetRequest
}
type GetPetResponder ¶
type GetPetResponder interface {
// contains filtered or unexported methods
}
func GetPetResponse200JSON ¶
func GetPetResponse200JSON(body GetPetResponse200JSONBody) GetPetResponder
type GetPetResponse200JSONBody ¶
type GetPetResponse200JSONBody struct { Length int `json:"length"` AdditionalProperties map[string]Pets `json:"-"` }
func (GetPetResponse200JSONBody) MarshalJSON ¶
func (b GetPetResponse200JSONBody) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.