Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerList = []string{
"http://petstore.swagger.io/v1",
}
ServerList contains the list of servers available to the SDK
Functions ¶
Types ¶
type HTTPClient ¶
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type SDKOption ¶
type SDKOption func(*TestGenDevCon)
func WithClient ¶
func WithClient(client HTTPClient) SDKOption
WithClient allows the overriding of the default HTTP client used by the SDK
func WithServerIndex ¶
WithServerIndex allows the overriding of the default server by index
func WithServerURL ¶
WithServerURL allows the overriding of the default server URL
type TestGenDevCon ¶
type TestGenDevCon struct { Pets *pets // contains filtered or unexported fields }
TestGenDevCon
func New ¶
func New(opts ...SDKOption) *TestGenDevCon
New creates a new instance of the SDK with the provided options
Click to show internal directories.
Click to hide internal directories.