Documentation ¶
Overview ¶
Code generated by swagger_to. DO NOT EDIT.
Code generated by swagger_to. DO NOT EDIT.
Code generated by swagger_to. DO NOT EDIT.
Code generated by swagger_to. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouter ¶
SetupRouter sets up a router. If you don't use any middleware, you are good to go. Otherwise, you need to maually re-implement this function with your middlewares.
func ValidateAgainstEmptyParameterSchema ¶
ValidateAgainstEmptyParameterSchema validates a message coming from the client against EmptyParameter schema.
func ValidateAgainstWithEmptyPropertiesSchema ¶
ValidateAgainstWithEmptyPropertiesSchema validates a message coming from the client against WithEmptyProperties schema.
func WrapTestEndpoint ¶
func WrapTestEndpoint(h Handler, w http.ResponseWriter, r *http.Request)
WrapTestEndpoint wraps the path `/test_endpoint` with the method "get".
Path description: test empty schema
Types ¶
type Handler ¶
type Handler interface { // TestEndpoint handles the path `/test_endpoint` with the method "get". // // Path description: // test empty schema TestEndpoint(w http.ResponseWriter, r *http.Request, requiredEmptyParameter EmptyParameter) }
Handler defines an interface to handling the routes.
type WithEmptyProperties ¶
type WithEmptyProperties struct { RequiredEmptyProperty interface{} `json:"required_empty_property"` OptionalEmptyProperty interface{} `json:"optional_empty_property,omitempty"` }
WithEmptyProperties is a product detail.