parameters

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

This is an autogenerated file, any edits which you make here will be lost!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (*openapi3.Swagger, error)

Returns the Swagger specification corresponding to the generated code in this file.

func RegisterHandlers

func RegisterHandlers(router runtime.EchoRouter, si ServerInterface)

Types

type ComplexObject

type ComplexObject struct {
	Id     string `json:"Id"`
	Object Object `json:"Object"`
}

Type definition for component schema "ComplexObject"

type GetHeaderParams

type GetHeaderParams struct {
	XPrimitive         *int32         `json:"X-Primitive,omitempty"`
	XPrimitiveExploded *int32         `json:"X-Primitive-Exploded,omitempty"`
	XArrayExploded     *[]int32       `json:"X-Array-Exploded,omitempty"`
	XArray             *[]int32       `json:"X-Array,omitempty"`
	XObjectExploded    *Object        `json:"X-Object-Exploded,omitempty"`
	XObject            *Object        `json:"X-Object,omitempty"`
	XComplexObject     *ComplexObject `json:"X-Complex-Object,omitempty"`
}

Parameters object for GetHeader

type GetQueryFormParams

type GetQueryFormParams struct {
	Ea *[]int32       `json:"ea,omitempty"`
	A  *[]int32       `json:"a,omitempty"`
	Eo *Object        `json:"eo,omitempty"`
	O  *Object        `json:"o,omitempty"`
	Ep *int32         `json:"ep,omitempty"`
	P  *int32         `json:"p,omitempty"`
	Co *ComplexObject `json:"co,omitempty"`
}

Parameters object for GetQueryForm

type Object

type Object struct {
	FirstName string `json:"firstName"`
	Role      string `json:"role"`
}

Type definition for component schema "Object"

type ServerInterface

type ServerInterface interface {
	//  (GET /contentObject/{param})
	GetContentObject(ctx echo.Context, param ComplexObject) error
	//  (GET /header)
	GetHeader(ctx echo.Context, params GetHeaderParams) error
	//  (GET /labelExplodeArray/{.param*})
	GetLabelExplodeArray(ctx echo.Context, param []int32) error
	//  (GET /labelExplodeObject/{.param*})
	GetLabelExplodeObject(ctx echo.Context, param Object) error
	//  (GET /labelNoExplodeArray/{.param})
	GetLabelNoExplodeArray(ctx echo.Context, param []int32) error
	//  (GET /labelNoExplodeObject/{.param})
	GetLabelNoExplodeObject(ctx echo.Context, param Object) error
	//  (GET /matrixExplodeArray/{.id*})
	GetMatrixExplodeArray(ctx echo.Context, id []int32) error
	//  (GET /matrixExplodeObject/{.id*})
	GetMatrixExplodeObject(ctx echo.Context, id Object) error
	//  (GET /matrixNoExplodeArray/{.id})
	GetMatrixNoExplodeArray(ctx echo.Context, id []int32) error
	//  (GET /matrixNoExplodeObject/{.id})
	GetMatrixNoExplodeObject(ctx echo.Context, id Object) error
	//  (GET /passThrough/{param})
	GetPassThrough(ctx echo.Context, param string) error
	//  (GET /queryForm)
	GetQueryForm(ctx echo.Context, params GetQueryFormParams) error
	//  (GET /simpleExplodeArray/{param*})
	GetSimpleExplodeArray(ctx echo.Context, param []int32) error
	//  (GET /simpleExplodeObject/{param*})
	GetSimpleExplodeObject(ctx echo.Context, param Object) error
	//  (GET /simpleNoExplodeArray/{param})
	GetSimpleNoExplodeArray(ctx echo.Context, param []int32) error
	//  (GET /simpleNoExplodeObject/{param})
	GetSimpleNoExplodeObject(ctx echo.Context, param Object) error
	//  (GET /simplePrimitive/{param})
	GetSimplePrimitive(ctx echo.Context, param int32) error
}

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

func (*ServerInterfaceWrapper) GetContentObject

func (w *ServerInterfaceWrapper) GetContentObject(ctx echo.Context) error

Wrapper for GetContentObject

func (*ServerInterfaceWrapper) GetHeader

func (w *ServerInterfaceWrapper) GetHeader(ctx echo.Context) error

Wrapper for GetHeader

func (*ServerInterfaceWrapper) GetLabelExplodeArray

func (w *ServerInterfaceWrapper) GetLabelExplodeArray(ctx echo.Context) error

Wrapper for GetLabelExplodeArray

func (*ServerInterfaceWrapper) GetLabelExplodeObject

func (w *ServerInterfaceWrapper) GetLabelExplodeObject(ctx echo.Context) error

Wrapper for GetLabelExplodeObject

func (*ServerInterfaceWrapper) GetLabelNoExplodeArray

func (w *ServerInterfaceWrapper) GetLabelNoExplodeArray(ctx echo.Context) error

Wrapper for GetLabelNoExplodeArray

func (*ServerInterfaceWrapper) GetLabelNoExplodeObject

func (w *ServerInterfaceWrapper) GetLabelNoExplodeObject(ctx echo.Context) error

Wrapper for GetLabelNoExplodeObject

func (*ServerInterfaceWrapper) GetMatrixExplodeArray

func (w *ServerInterfaceWrapper) GetMatrixExplodeArray(ctx echo.Context) error

Wrapper for GetMatrixExplodeArray

func (*ServerInterfaceWrapper) GetMatrixExplodeObject

func (w *ServerInterfaceWrapper) GetMatrixExplodeObject(ctx echo.Context) error

Wrapper for GetMatrixExplodeObject

func (*ServerInterfaceWrapper) GetMatrixNoExplodeArray

func (w *ServerInterfaceWrapper) GetMatrixNoExplodeArray(ctx echo.Context) error

Wrapper for GetMatrixNoExplodeArray

func (*ServerInterfaceWrapper) GetMatrixNoExplodeObject

func (w *ServerInterfaceWrapper) GetMatrixNoExplodeObject(ctx echo.Context) error

Wrapper for GetMatrixNoExplodeObject

func (*ServerInterfaceWrapper) GetPassThrough

func (w *ServerInterfaceWrapper) GetPassThrough(ctx echo.Context) error

Wrapper for GetPassThrough

func (*ServerInterfaceWrapper) GetQueryForm

func (w *ServerInterfaceWrapper) GetQueryForm(ctx echo.Context) error

Wrapper for GetQueryForm

func (*ServerInterfaceWrapper) GetSimpleExplodeArray

func (w *ServerInterfaceWrapper) GetSimpleExplodeArray(ctx echo.Context) error

Wrapper for GetSimpleExplodeArray

func (*ServerInterfaceWrapper) GetSimpleExplodeObject

func (w *ServerInterfaceWrapper) GetSimpleExplodeObject(ctx echo.Context) error

Wrapper for GetSimpleExplodeObject

func (*ServerInterfaceWrapper) GetSimpleNoExplodeArray

func (w *ServerInterfaceWrapper) GetSimpleNoExplodeArray(ctx echo.Context) error

Wrapper for GetSimpleNoExplodeArray

func (*ServerInterfaceWrapper) GetSimpleNoExplodeObject

func (w *ServerInterfaceWrapper) GetSimpleNoExplodeObject(ctx echo.Context) error

Wrapper for GetSimpleNoExplodeObject

func (*ServerInterfaceWrapper) GetSimplePrimitive

func (w *ServerInterfaceWrapper) GetSimplePrimitive(ctx echo.Context) error

Wrapper for GetSimplePrimitive

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL