Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "1.0.0"
Functions ¶
This section is empty.
Types ¶
type Swagger2OpenapiConvertor ¶
type Swagger2OpenapiConvertor struct { Target string DisableOverwriteSwaggerV2 bool OutputDir string }
func NewSwagger2OpenapiConvertor ¶
func NewSwagger2OpenapiConvertor(target string, disableOverwriteSwaggerV2 bool) *Swagger2OpenapiConvertor
NewSwagger2OpenapiConvertor new swagger v2 to OpenApi v3 convertor
func (*Swagger2OpenapiConvertor) Convert ¶
func (s *Swagger2OpenapiConvertor) Convert() error
Convert convert swagger2 to openapi3
func (*Swagger2OpenapiConvertor) SetOutputDir ¶
func (s *Swagger2OpenapiConvertor) SetOutputDir(outputDir string) *Swagger2OpenapiConvertor
SetOutputDir set OpenApi v3 spec output dir
Click to show internal directories.
Click to hide internal directories.