Versions in this module Expand all Collapse all v1 v1.20.3 Apr 7, 2026 v1.20.2 Mar 27, 2026 v1.20.1 Feb 28, 2026 v1.20.0 Feb 25, 2026 v1.19.0 Feb 11, 2026 v1.18.0 Dec 1, 2025 v1.17.0 Nov 25, 2025 Changes in this version + func WithServerURL(ctx context.Context, u *url.URL) context.Context + type Client struct + func NewClient(serverURL string, opts ...ClientOption) (*Client, error) + func (c *Client) CreateItems(ctx context.Context, request *CreateItemsReq) (*CreateItemsOK, error) + type ClientOption interface + func WithClient(client ht.Client) ClientOption + type CreateItemsOK struct + Created OptInt + func (s *CreateItemsOK) Decode(d *jx.Decoder) error + func (s *CreateItemsOK) Encode(e *jx.Encoder) + func (s *CreateItemsOK) GetCreated() OptInt + func (s *CreateItemsOK) MarshalJSON() ([]byte, error) + func (s *CreateItemsOK) SetCreated(val OptInt) + func (s *CreateItemsOK) UnmarshalJSON(data []byte) error + type CreateItemsReq struct + Items []Level1 + func (s *CreateItemsReq) Decode(d *jx.Decoder) error + func (s *CreateItemsReq) Encode(e *jx.Encoder) + func (s *CreateItemsReq) GetItems() []Level1 + func (s *CreateItemsReq) MarshalJSON() ([]byte, error) + func (s *CreateItemsReq) SetItems(val []Level1) + func (s *CreateItemsReq) UnmarshalJSON(data []byte) error + func (s *CreateItemsReq) Validate() error + type ErrorHandler = ogenerrors.ErrorHandler + type Handler interface + CreateItems func(ctx context.Context, req *CreateItemsReq) (*CreateItemsOK, error) + type Invoker interface + CreateItems func(ctx context.Context, request *CreateItemsReq) (*CreateItemsOK, error) + type Labeler struct + func LabelerFromContext(ctx context.Context) (*Labeler, bool) + func (l *Labeler) Add(attrs ...attribute.KeyValue) + func (l *Labeler) AttributeSet() attribute.Set + type Level1 struct + ID string + Nested OptLevel2 + func (a Level1) Equal(b Level1, depth int) bool + func (a Level1) Hash() uint64 + func (s *Level1) Decode(d *jx.Decoder) error + func (s *Level1) Encode(e *jx.Encoder) + func (s *Level1) GetID() string + func (s *Level1) GetNested() OptLevel2 + func (s *Level1) MarshalJSON() ([]byte, error) + func (s *Level1) SetID(val string) + func (s *Level1) SetNested(val OptLevel2) + func (s *Level1) UnmarshalJSON(data []byte) error + type Level10 struct + Nested OptLevel11 + func (a Level10) Equal(b Level10, depth int) bool + func (a Level10) Hash() uint64 + func (s *Level10) Decode(d *jx.Decoder) error + func (s *Level10) Encode(e *jx.Encoder) + func (s *Level10) GetNested() OptLevel11 + func (s *Level10) MarshalJSON() ([]byte, error) + func (s *Level10) SetNested(val OptLevel11) + func (s *Level10) UnmarshalJSON(data []byte) error + type Level11 struct + Nested OptLevel12 + func (a Level11) Equal(b Level11, depth int) bool + func (a Level11) Hash() uint64 + func (s *Level11) Decode(d *jx.Decoder) error + func (s *Level11) Encode(e *jx.Encoder) + func (s *Level11) GetNested() OptLevel12 + func (s *Level11) MarshalJSON() ([]byte, error) + func (s *Level11) SetNested(val OptLevel12) + func (s *Level11) UnmarshalJSON(data []byte) error + type Level12 struct + Value OptString + func (a Level12) Equal(b Level12, depth int) bool + func (a Level12) Hash() uint64 + func (s *Level12) Decode(d *jx.Decoder) error + func (s *Level12) Encode(e *jx.Encoder) + func (s *Level12) GetValue() OptString + func (s *Level12) MarshalJSON() ([]byte, error) + func (s *Level12) SetValue(val OptString) + func (s *Level12) UnmarshalJSON(data []byte) error + type Level2 struct + Nested OptLevel3 + func (a Level2) Equal(b Level2, depth int) bool + func (a Level2) Hash() uint64 + func (s *Level2) Decode(d *jx.Decoder) error + func (s *Level2) Encode(e *jx.Encoder) + func (s *Level2) GetNested() OptLevel3 + func (s *Level2) MarshalJSON() ([]byte, error) + func (s *Level2) SetNested(val OptLevel3) + func (s *Level2) UnmarshalJSON(data []byte) error + type Level3 struct + Nested OptLevel4 + func (a Level3) Equal(b Level3, depth int) bool + func (a Level3) Hash() uint64 + func (s *Level3) Decode(d *jx.Decoder) error + func (s *Level3) Encode(e *jx.Encoder) + func (s *Level3) GetNested() OptLevel4 + func (s *Level3) MarshalJSON() ([]byte, error) + func (s *Level3) SetNested(val OptLevel4) + func (s *Level3) UnmarshalJSON(data []byte) error + type Level4 struct + Nested OptLevel5 + func (a Level4) Equal(b Level4, depth int) bool + func (a Level4) Hash() uint64 + func (s *Level4) Decode(d *jx.Decoder) error + func (s *Level4) Encode(e *jx.Encoder) + func (s *Level4) GetNested() OptLevel5 + func (s *Level4) MarshalJSON() ([]byte, error) + func (s *Level4) SetNested(val OptLevel5) + func (s *Level4) UnmarshalJSON(data []byte) error + type Level5 struct + Nested OptLevel6 + func (a Level5) Equal(b Level5, depth int) bool + func (a Level5) Hash() uint64 + func (s *Level5) Decode(d *jx.Decoder) error + func (s *Level5) Encode(e *jx.Encoder) + func (s *Level5) GetNested() OptLevel6 + func (s *Level5) MarshalJSON() ([]byte, error) + func (s *Level5) SetNested(val OptLevel6) + func (s *Level5) UnmarshalJSON(data []byte) error + type Level6 struct + Nested OptLevel7 + func (a Level6) Equal(b Level6, depth int) bool + func (a Level6) Hash() uint64 + func (s *Level6) Decode(d *jx.Decoder) error + func (s *Level6) Encode(e *jx.Encoder) + func (s *Level6) GetNested() OptLevel7 + func (s *Level6) MarshalJSON() ([]byte, error) + func (s *Level6) SetNested(val OptLevel7) + func (s *Level6) UnmarshalJSON(data []byte) error + type Level7 struct + Nested OptLevel8 + func (a Level7) Equal(b Level7, depth int) bool + func (a Level7) Hash() uint64 + func (s *Level7) Decode(d *jx.Decoder) error + func (s *Level7) Encode(e *jx.Encoder) + func (s *Level7) GetNested() OptLevel8 + func (s *Level7) MarshalJSON() ([]byte, error) + func (s *Level7) SetNested(val OptLevel8) + func (s *Level7) UnmarshalJSON(data []byte) error + type Level8 struct + Nested OptLevel9 + func (a Level8) Equal(b Level8, depth int) bool + func (a Level8) Hash() uint64 + func (s *Level8) Decode(d *jx.Decoder) error + func (s *Level8) Encode(e *jx.Encoder) + func (s *Level8) GetNested() OptLevel9 + func (s *Level8) MarshalJSON() ([]byte, error) + func (s *Level8) SetNested(val OptLevel9) + func (s *Level8) UnmarshalJSON(data []byte) error + type Level9 struct + Nested OptLevel10 + func (a Level9) Equal(b Level9, depth int) bool + func (a Level9) Hash() uint64 + func (s *Level9) Decode(d *jx.Decoder) error + func (s *Level9) Encode(e *jx.Encoder) + func (s *Level9) GetNested() OptLevel10 + func (s *Level9) MarshalJSON() ([]byte, error) + func (s *Level9) SetNested(val OptLevel10) + func (s *Level9) UnmarshalJSON(data []byte) error + type Middleware = middleware.Middleware + type OperationName = string + const CreateItemsOperation + type OptInt struct + Set bool + Value int + func NewOptInt(v int) OptInt + func (o *OptInt) Decode(d *jx.Decoder) error + func (o *OptInt) Reset() + func (o *OptInt) SetTo(v int) + func (o OptInt) Encode(e *jx.Encoder) + func (o OptInt) Get() (v int, ok bool) + func (o OptInt) IsSet() bool + func (o OptInt) Or(d int) int + func (s *OptInt) UnmarshalJSON(data []byte) error + func (s OptInt) MarshalJSON() ([]byte, error) + type OptLevel10 struct + Set bool + Value Level10 + func NewOptLevel10(v Level10) OptLevel10 + func (o *OptLevel10) Decode(d *jx.Decoder) error + func (o *OptLevel10) Reset() + func (o *OptLevel10) SetTo(v Level10) + func (o OptLevel10) Encode(e *jx.Encoder) + func (o OptLevel10) Get() (v Level10, ok bool) + func (o OptLevel10) IsSet() bool + func (o OptLevel10) Or(d Level10) Level10 + func (s *OptLevel10) UnmarshalJSON(data []byte) error + func (s OptLevel10) MarshalJSON() ([]byte, error) + type OptLevel11 struct + Set bool + Value Level11 + func NewOptLevel11(v Level11) OptLevel11 + func (o *OptLevel11) Decode(d *jx.Decoder) error + func (o *OptLevel11) Reset() + func (o *OptLevel11) SetTo(v Level11) + func (o OptLevel11) Encode(e *jx.Encoder) + func (o OptLevel11) Get() (v Level11, ok bool) + func (o OptLevel11) IsSet() bool + func (o OptLevel11) Or(d Level11) Level11 + func (s *OptLevel11) UnmarshalJSON(data []byte) error + func (s OptLevel11) MarshalJSON() ([]byte, error) + type OptLevel12 struct + Set bool + Value Level12 + func NewOptLevel12(v Level12) OptLevel12 + func (o *OptLevel12) Decode(d *jx.Decoder) error + func (o *OptLevel12) Reset() + func (o *OptLevel12) SetTo(v Level12) + func (o OptLevel12) Encode(e *jx.Encoder) + func (o OptLevel12) Get() (v Level12, ok bool) + func (o OptLevel12) IsSet() bool + func (o OptLevel12) Or(d Level12) Level12 + func (s *OptLevel12) UnmarshalJSON(data []byte) error + func (s OptLevel12) MarshalJSON() ([]byte, error) + type OptLevel2 struct + Set bool + Value Level2 + func NewOptLevel2(v Level2) OptLevel2 + func (o *OptLevel2) Decode(d *jx.Decoder) error + func (o *OptLevel2) Reset() + func (o *OptLevel2) SetTo(v Level2) + func (o OptLevel2) Encode(e *jx.Encoder) + func (o OptLevel2) Get() (v Level2, ok bool) + func (o OptLevel2) IsSet() bool + func (o OptLevel2) Or(d Level2) Level2 + func (s *OptLevel2) UnmarshalJSON(data []byte) error + func (s OptLevel2) MarshalJSON() ([]byte, error) + type OptLevel3 struct + Set bool + Value Level3 + func NewOptLevel3(v Level3) OptLevel3 + func (o *OptLevel3) Decode(d *jx.Decoder) error + func (o *OptLevel3) Reset() + func (o *OptLevel3) SetTo(v Level3) + func (o OptLevel3) Encode(e *jx.Encoder) + func (o OptLevel3) Get() (v Level3, ok bool) + func (o OptLevel3) IsSet() bool + func (o OptLevel3) Or(d Level3) Level3 + func (s *OptLevel3) UnmarshalJSON(data []byte) error + func (s OptLevel3) MarshalJSON() ([]byte, error) + type OptLevel4 struct + Set bool + Value Level4 + func NewOptLevel4(v Level4) OptLevel4 + func (o *OptLevel4) Decode(d *jx.Decoder) error + func (o *OptLevel4) Reset() + func (o *OptLevel4) SetTo(v Level4) + func (o OptLevel4) Encode(e *jx.Encoder) + func (o OptLevel4) Get() (v Level4, ok bool) + func (o OptLevel4) IsSet() bool + func (o OptLevel4) Or(d Level4) Level4 + func (s *OptLevel4) UnmarshalJSON(data []byte) error + func (s OptLevel4) MarshalJSON() ([]byte, error) + type OptLevel5 struct + Set bool + Value Level5 + func NewOptLevel5(v Level5) OptLevel5 + func (o *OptLevel5) Decode(d *jx.Decoder) error + func (o *OptLevel5) Reset() + func (o *OptLevel5) SetTo(v Level5) + func (o OptLevel5) Encode(e *jx.Encoder) + func (o OptLevel5) Get() (v Level5, ok bool) + func (o OptLevel5) IsSet() bool + func (o OptLevel5) Or(d Level5) Level5 + func (s *OptLevel5) UnmarshalJSON(data []byte) error + func (s OptLevel5) MarshalJSON() ([]byte, error) + type OptLevel6 struct + Set bool + Value Level6 + func NewOptLevel6(v Level6) OptLevel6 + func (o *OptLevel6) Decode(d *jx.Decoder) error + func (o *OptLevel6) Reset() + func (o *OptLevel6) SetTo(v Level6) + func (o OptLevel6) Encode(e *jx.Encoder) + func (o OptLevel6) Get() (v Level6, ok bool) + func (o OptLevel6) IsSet() bool + func (o OptLevel6) Or(d Level6) Level6 + func (s *OptLevel6) UnmarshalJSON(data []byte) error + func (s OptLevel6) MarshalJSON() ([]byte, error) + type OptLevel7 struct + Set bool + Value Level7 + func NewOptLevel7(v Level7) OptLevel7 + func (o *OptLevel7) Decode(d *jx.Decoder) error + func (o *OptLevel7) Reset() + func (o *OptLevel7) SetTo(v Level7) + func (o OptLevel7) Encode(e *jx.Encoder) + func (o OptLevel7) Get() (v Level7, ok bool) + func (o OptLevel7) IsSet() bool + func (o OptLevel7) Or(d Level7) Level7 + func (s *OptLevel7) UnmarshalJSON(data []byte) error + func (s OptLevel7) MarshalJSON() ([]byte, error) + type OptLevel8 struct + Set bool + Value Level8 + func NewOptLevel8(v Level8) OptLevel8 + func (o *OptLevel8) Decode(d *jx.Decoder) error + func (o *OptLevel8) Reset() + func (o *OptLevel8) SetTo(v Level8) + func (o OptLevel8) Encode(e *jx.Encoder) + func (o OptLevel8) Get() (v Level8, ok bool) + func (o OptLevel8) IsSet() bool + func (o OptLevel8) Or(d Level8) Level8 + func (s *OptLevel8) UnmarshalJSON(data []byte) error + func (s OptLevel8) MarshalJSON() ([]byte, error) + type OptLevel9 struct + Set bool + Value Level9 + func NewOptLevel9(v Level9) OptLevel9 + func (o *OptLevel9) Decode(d *jx.Decoder) error + func (o *OptLevel9) Reset() + func (o *OptLevel9) SetTo(v Level9) + func (o OptLevel9) Encode(e *jx.Encoder) + func (o OptLevel9) Get() (v Level9, ok bool) + func (o OptLevel9) IsSet() bool + func (o OptLevel9) Or(d Level9) Level9 + func (s *OptLevel9) UnmarshalJSON(data []byte) error + func (s OptLevel9) MarshalJSON() ([]byte, error) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type Option interface + func WithAttributes(attributes ...attribute.KeyValue) Option + func WithMeterProvider(provider metric.MeterProvider) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type Route struct + func (r Route) Args() []string + func (r Route) Name() string + func (r Route) OperationID() string + func (r Route) PathPattern() string + func (r Route) Summary() string + type Server struct + func NewServer(h Handler, opts ...ServerOption) (*Server, error) + func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) + func (s *Server) FindRoute(method, path string) (Route, bool) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServerOption interface + func WithErrorHandler(h ErrorHandler) ServerOption + func WithMaxMultipartMemory(max int64) ServerOption + func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption + func WithMiddleware(m ...Middleware) ServerOption + func WithNotFound(notFound http.HandlerFunc) ServerOption + func WithPathPrefix(prefix string) ServerOption + type UnimplementedHandler struct + func (UnimplementedHandler) CreateItems(ctx context.Context, req *CreateItemsReq) (r *CreateItemsOK, _ error)