Categorygithub.com/matthew-hartman/swagger-cli
repositorypackage
1.0.8
Repository: https://github.com/matthew-hartman/swagger-cli.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

swagger-cli

Generate updating cli's for services that provide swagger specs

rootCmd := &cobra.Command{
  Use: "swagger-cli",
}

c := swagger.Client{
	Name:               "swagger-cli",
	BaseURLDefault:     "http://localhost:8010",
	SwaggerPathDefault: "/swagger.json",
}

cobra.CheckErr(c.Bind(context.Background(), rootCmd))
cobra.CheckErr(rootCmd.Execute())