Documentation ¶
Index ¶
Constants ¶
View Source
const ( CurlType = "curl" FetchType = "fetch" )
Variables ¶
View Source
var ( ErrEndpointNotFound = fmt.Errorf("endpoint not found") ErrEndpointWrongMethod = fmt.Errorf("endpoint found but wrong method") )
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter interface {
ConvertEndpoint(swagger *openapi3.T, method, endpoint string) (string, error)
}
func NewConverter ¶
Click to show internal directories.
Click to hide internal directories.