package
0.29.1
Repository: https://github.com/cloudentity/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewExternalTypesDemoAPI creates a new ExternalTypesDemo instance.
NewGetStream creates a new http.Handler for the get stream operation.
NewGetStreamDefault creates GetStreamDefault with default headers values.
NewGetStreamParams creates a new GetStreamParams object There are no default values defined in the spec.
NewGetTest creates a new http.Handler for the get test operation.
NewGetTestDefault creates GetTestDefault with default headers values.
NewGetTestParams creates a new GetTestParams object There are no default values defined in the spec.
NewPostTest creates a new http.Handler for the post test operation.
NewPostTestDefault creates PostTestDefault with default headers values.
NewPostTestParams creates a new PostTestParams object There are no default values defined in the spec.
NewPutTest creates a new http.Handler for the put test operation.
NewPutTestDefault creates PutTestDefault with default headers values.
NewPutTestParams creates a new PutTestParams object There are no default values defined in the spec.

# Structs

ExternalTypesDemoAPI This sample specification exercises external types, with both x-go-type in definitions and inlined.
GetStream swagger:route GET /stream getStream GetStream get stream API */.
GetStreamDefault Uses an external definition for an interface (e.g.
GetStreamParams contains all the bound params for the get stream operation typically these are obtained from a http.Request swagger:parameters GetStream.
GetStreamURL generates an URL for the get stream operation.
GetTest swagger:route GET /test getTest GetTest get test API */.
GetTestDefault A reference to a type already defined in the models package (defaults to <<target>/models, defined by CLI flag --model-package).
GetTestParams contains all the bound params for the get test operation typically these are obtained from a http.Request swagger:parameters GetTest.
GetTestURL generates an URL for the get test operation.
PostTest swagger:route POST /test postTest PostTest post test API */.
PostTestDefault An inlined reference to an aliased external package.
PostTestParams contains all the bound params for the post test operation typically these are obtained from a http.Request swagger:parameters PostTest.
PostTestURL generates an URL for the post test operation.
PutTest swagger:route PUT /test putTest PutTest put test API */.
PutTestDefault A map of an aliased external package.
PutTestParams contains all the bound params for the put test operation typically these are obtained from a http.Request swagger:parameters PutTest.
PutTestURL generates an URL for the put test operation.

# Interfaces

GetStreamHandler interface for that can handle valid get stream params.
GetTestHandler interface for that can handle valid get test params.
PostTestHandler interface for that can handle valid post test params.
PutTestHandler interface for that can handle valid put test params.

# Type aliases

GetStreamHandlerFunc turns a function with the right signature into a get stream handler.
GetTestHandlerFunc turns a function with the right signature into a get test handler.
PostTestHandlerFunc turns a function with the right signature into a post test handler.
PutTestHandlerFunc turns a function with the right signature into a put test handler.