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 Organization
- type Page
- type Pages
- type PostShopsShopStringSepShopSchemaPetsHandlerFunc
- type PostShopsShopStringSepShopSchemaPetsParams
- type PostShopsShopStringSepShopSchemaPetsRequest
- type PostShopsShopStringSepShopSchemaPetsResponse
- type PostShopsShopStringSepShopSchemaPetsResponse200
- type Shop
- type Shopa
- type Shops
Constants ¶
View Source
const SpecFile string = `` /* 2695-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) PostShopsShopStringSepShopSchemaPets ¶
func (c *Client) PostShopsShopStringSepShopSchemaPets(ctx context.Context, request PostShopsShopStringSepShopSchemaPetsParams) (PostShopsShopStringSepShopSchemaPetsResponse, error)
PostShopsShopStringSepShopSchemaPets - POST /shops/{shop_string}/sep/{shop_schema}/pets
type ErrParseParam ¶
func (ErrParseParam) Error ¶
func (e ErrParseParam) Error() string
func (ErrParseParam) Unwrap ¶
func (e ErrParseParam) Unwrap() error
type HTTPClientFunc ¶
type Organization ¶
type Organization int
func (*Organization) Parse ¶
func (c *Organization) Parse(s string) error
func (Organization) String ¶
func (q Organization) String() string
type PostShopsShopStringSepShopSchemaPetsHandlerFunc ¶
type PostShopsShopStringSepShopSchemaPetsHandlerFunc func(ctx context.Context, r PostShopsShopStringSepShopSchemaPetsRequest) PostShopsShopStringSepShopSchemaPetsResponse
func (PostShopsShopStringSepShopSchemaPetsHandlerFunc) ServeHTTP ¶
func (f PostShopsShopStringSepShopSchemaPetsHandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PostShopsShopStringSepShopSchemaPetsParams ¶
type PostShopsShopStringSepShopSchemaPetsParams struct { Query struct { PageInt Maybe[int] PageSchema Maybe[Page] PagesSchema Maybe[Pages] PageIntReq int PageSchemaReq Page } Path struct { ShopString string ShopSchema Shop } Headers struct { XOrganizationInt Maybe[int] XOrganizationSchema Maybe[Organization] XOrganizationIntRequired int XOrganizationSchemaRequired Organization } }
func (PostShopsShopStringSepShopSchemaPetsParams) HTTP ¶
func (r PostShopsShopStringSepShopSchemaPetsParams) HTTP() *http.Request
type PostShopsShopStringSepShopSchemaPetsRequest ¶
type PostShopsShopStringSepShopSchemaPetsRequest interface { HTTP() *http.Request Parse() (PostShopsShopStringSepShopSchemaPetsParams, error) }
func PostShopsShopStringSepShopSchemaPetsHTTPRequest ¶
func PostShopsShopStringSepShopSchemaPetsHTTPRequest(r *http.Request) PostShopsShopStringSepShopSchemaPetsRequest
type PostShopsShopStringSepShopSchemaPetsResponse ¶
type PostShopsShopStringSepShopSchemaPetsResponse interface {
// contains filtered or unexported methods
}
func NewPostShopsShopStringSepShopSchemaPetsResponse200 ¶
func NewPostShopsShopStringSepShopSchemaPetsResponse200() PostShopsShopStringSepShopSchemaPetsResponse
type PostShopsShopStringSepShopSchemaPetsResponse200 ¶
type PostShopsShopStringSepShopSchemaPetsResponse200 struct{}
PostShopsShopStringSepShopSchemaPetsResponse200 - OK response
func (PostShopsShopStringSepShopSchemaPetsResponse200) Write ¶
func (r PostShopsShopStringSepShopSchemaPetsResponse200) Write(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.