18 lines
258 B
Go
18 lines
258 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"git.jamestombleson.com/jtom38/newsbot-api/tools/swaggertoopenapi/src"
|
|
)
|
|
|
|
|
|
func main() {
|
|
err := src.ConvertToOpenApi("docs/swagger.json", "docs/openapi.json", true)
|
|
if err != nil {
|
|
fmt.Println(err)
|
|
os.Exit(1)
|
|
}
|
|
}
|