Documentation ¶
Overview ¶
This file was automatically generated by git.sr.ht/~farhaven/oapi-gen@(devel)
DO NOT EDIT!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(impl ServerImplementation) *mux.Router
Types ¶
type Foo_Data ¶
type Foo_Data []Foo_Data_Item
type Foo_Data_Item ¶
type GetFooHandler ¶
type GetFooHandler interface { HandleRequestError(context.Context, http.ResponseWriter, *http.Request, error) HandleResponseError(context.Context, http.ResponseWriter, *http.Request, error) GetFoo(context.Context, GetFooRequest) (GetFooResponse, error) }
type GetFooRequest ¶
type GetFooResponse ¶
type GetFooResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetFooResponse200 ¶
type GetFooResponse200 struct{ Payload Foo }
func (GetFooResponse200) MarshalJSON ¶
func (r GetFooResponse200) MarshalJSON() ([]byte, error)
func (GetFooResponse200) StatusCode ¶
func (GetFooResponse200) StatusCode() int
type ServerImplementation ¶
type ServerImplementation interface { GetFooHandler }
Click to show internal directories.
Click to hide internal directories.