Documentation
¶
Index ¶
Constants ¶
View Source
const ( FormatSwagger20 = "swagger2" FormatOpenAPI30 = "openapi3" FormatOpenAPI30JSON = "openapi3-json" )
Variables ¶
View Source
var ( ErrInvalidInputFormat = fmt.Errorf("invalid input format") ErrInvalidOutputFormat = fmt.Errorf("invalid output format") ErrUnsupportedConversion = fmt.Errorf("unsupported conversion") SupportedInputFormats = []string{FormatSwagger20} SupportedOutputFormats = []string{FormatOpenAPI30, FormatOpenAPI30JSON} )
Functions ¶
func ConvertSpec ¶
ConvertSpec converts an input specification file to the desired output format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.