Documentation
¶
Index ¶
- Constants
- Variables
- func SchemaPath(r *http.Request) (string, bool)
- func SpecFileHandler() http.Handler
- type API
- type Client
- type ErrParseParam
- type HTTPClient
- type HTTPClientFunc
- type Maybe
- type Nullable
- type PostShopsShopStringShopSchemaPetsHandlerFunc
- type PostShopsShopStringShopSchemaPetsParams
- type PostShopsShopStringShopSchemaPetsParamsPath
- type PostShopsShopStringShopSchemaPetsRequest
- type PostShopsShopStringShopSchemaPetsResponse
- type PostShopsShopStringShopSchemaPetsResponse200
- type Shop
Constants ¶
View Source
const SpecFile string = `` /* 638-byte string literal not displayed */
Variables ¶
Functions ¶
func SpecFileHandler ¶
Types ¶
type API ¶
type Client ¶
type Client struct {
BaseURL string
HTTPClient HTTPClient
}
func NewClient ¶
func NewClient(baseURL string, httpClient HTTPClient) *Client
func (*Client) PostShopsShopStringShopSchemaPets ¶
func (c *Client) PostShopsShopStringShopSchemaPets(ctx context.Context, request PostShopsShopStringShopSchemaPetsParams) (PostShopsShopStringShopSchemaPetsResponse, error)
PostShopsShopStringShopSchemaPets POST /shops/{shop_string}/{shop_schema}/pets
type ErrParseParam ¶
func (ErrParseParam) Error ¶
func (e ErrParseParam) Error() string
func (ErrParseParam) Unwrap ¶
func (e ErrParseParam) Unwrap() error
type HTTPClientFunc ¶
type PostShopsShopStringShopSchemaPetsHandlerFunc ¶
type PostShopsShopStringShopSchemaPetsHandlerFunc func(ctx context.Context, r PostShopsShopStringShopSchemaPetsRequest) PostShopsShopStringShopSchemaPetsResponse
func (PostShopsShopStringShopSchemaPetsHandlerFunc) ServeHTTP ¶
func (f PostShopsShopStringShopSchemaPetsHandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PostShopsShopStringShopSchemaPetsParams ¶
type PostShopsShopStringShopSchemaPetsParams struct {
Path PostShopsShopStringShopSchemaPetsParamsPath
}
func (PostShopsShopStringShopSchemaPetsParams) HTTP ¶
func (r PostShopsShopStringShopSchemaPetsParams) HTTP() *http.Request
func (PostShopsShopStringShopSchemaPetsParams) Parse ¶
func (r PostShopsShopStringShopSchemaPetsParams) Parse() (PostShopsShopStringShopSchemaPetsParams, error)
type PostShopsShopStringShopSchemaPetsRequest ¶
type PostShopsShopStringShopSchemaPetsRequest interface {
HTTP() *http.Request
Parse() (PostShopsShopStringShopSchemaPetsParams, error)
}
func PostShopsShopStringShopSchemaPetsHTTPRequest ¶
func PostShopsShopStringShopSchemaPetsHTTPRequest(r *http.Request) PostShopsShopStringShopSchemaPetsRequest
type PostShopsShopStringShopSchemaPetsResponse ¶
type PostShopsShopStringShopSchemaPetsResponse interface {
// contains filtered or unexported methods
}
func NewPostShopsShopStringShopSchemaPetsResponse200 ¶
func NewPostShopsShopStringShopSchemaPetsResponse200() PostShopsShopStringShopSchemaPetsResponse
type PostShopsShopStringShopSchemaPetsResponse200 ¶
type PostShopsShopStringShopSchemaPetsResponse200 struct{}
PostShopsShopStringShopSchemaPetsResponse200 - OK response
func (PostShopsShopStringShopSchemaPetsResponse200) Write ¶
func (r PostShopsShopStringShopSchemaPetsResponse200) Write(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.