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 OrgIntHeader
- type OrgIntHeaderRequired
- type OrgSchemaHeader
- type OrgSchemaHeaderRequired
- type Organization
- type Page
- type PageIntQuery
- type PageIntQueryRequired
- type PageSchemaQuery
- type PageSchemaQueryRequired
- type PostShopsShopStringSepShopSchemaPetsHandlerFunc
- type PostShopsShopStringSepShopSchemaPetsParams
- type PostShopsShopStringSepShopSchemaPetsRequest
- type PostShopsShopStringSepShopSchemaPetsResponse
- type PostShopsShopStringSepShopSchemaPetsResponse200
- type Shop
- type ShopSchemaPath
- type ShopStringPath
Constants ¶
View Source
const SpecFile string = `` /* 2314-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 OrgIntHeader ¶
type OrgIntHeader int
func (*OrgIntHeader) Parse ¶
func (h *OrgIntHeader) Parse(s string) error
func (OrgIntHeader) String ¶
func (h OrgIntHeader) String() string
type OrgIntHeaderRequired ¶
type OrgIntHeaderRequired int
func (*OrgIntHeaderRequired) Parse ¶
func (h *OrgIntHeaderRequired) Parse(s string) error
func (OrgIntHeaderRequired) String ¶
func (h OrgIntHeaderRequired) String() string
type OrgSchemaHeader ¶
type OrgSchemaHeader Organization
func (*OrgSchemaHeader) Parse ¶
func (h *OrgSchemaHeader) Parse(s string) error
func (OrgSchemaHeader) String ¶
func (h OrgSchemaHeader) String() string
type OrgSchemaHeaderRequired ¶
type OrgSchemaHeaderRequired Organization
func (*OrgSchemaHeaderRequired) Parse ¶
func (h *OrgSchemaHeaderRequired) Parse(s string) error
func (OrgSchemaHeaderRequired) String ¶
func (h OrgSchemaHeaderRequired) String() string
type Organization ¶
type Organization int
func (*Organization) Parse ¶
func (c *Organization) Parse(s string) error
func (Organization) String ¶
func (q Organization) String() string
type PageIntQuery ¶
type PageIntQuery int
func (*PageIntQuery) ParseQuery ¶
func (q *PageIntQuery) ParseQuery(vs []string) error
func (PageIntQuery) String ¶
func (q PageIntQuery) String() string
type PageIntQueryRequired ¶
type PageIntQueryRequired int
func (*PageIntQueryRequired) ParseQuery ¶
func (q *PageIntQueryRequired) ParseQuery(vs []string) error
func (PageIntQueryRequired) String ¶
func (q PageIntQueryRequired) String() string
type PageSchemaQuery ¶
type PageSchemaQuery Page
func (*PageSchemaQuery) ParseQuery ¶
func (q *PageSchemaQuery) ParseQuery(vs []string) error
func (PageSchemaQuery) String ¶
func (q PageSchemaQuery) String() string
type PageSchemaQueryRequired ¶
type PageSchemaQueryRequired Page
func (*PageSchemaQueryRequired) ParseQuery ¶
func (q *PageSchemaQueryRequired) ParseQuery(vs []string) error
func (PageSchemaQueryRequired) String ¶
func (q PageSchemaQueryRequired) 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 *PageIntQuery PageSchema *PageSchemaQuery PageIntReq PageIntQueryRequired PageSchemaReq PageSchemaQueryRequired } Path struct { ShopString ShopStringPath ShopSchema ShopSchemaPath } Headers struct { XOrganizationInt *OrgIntHeader XOrganizationSchema *OrgSchemaHeader XOrganizationIntRequired OrgIntHeaderRequired XOrganizationSchemaRequired OrgSchemaHeaderRequired } }
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 { Write(w http.ResponseWriter) // 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)
type ShopSchemaPath ¶
type ShopSchemaPath Shop
func (*ShopSchemaPath) Parse ¶
func (q *ShopSchemaPath) Parse(s string) error
func (ShopSchemaPath) String ¶
func (q ShopSchemaPath) String() string
type ShopStringPath ¶
type ShopStringPath string
func (*ShopStringPath) Parse ¶
func (q *ShopStringPath) Parse(s string) error
func (ShopStringPath) String ¶
func (q ShopStringPath) String() string
Click to show internal directories.
Click to hide internal directories.