Documentation ¶
Index ¶
- Constants
- func Execute()
- func GenCommandMarkdown(cmdPath []string, cmd *cobra.Command, w io.Writer) error
- func GenCommandsMarkdown(cmdPath []string, cmd *cobra.Command, w io.Writer) error
- func GenMarkdownDocumentation(cmd *cobra.Command, filename string) error
- func GenRootCommandMarkdown(cmd *cobra.Command, w io.Writer) error
Constants ¶
View Source
const GeneratePath = "generate-path"
View Source
const GeneratePathDescription = "Path to generate source code into"
View Source
const ModuleName = "module-name"
View Source
const ModuleNameDescription = "Module name"
View Source
const OutFile = "out-file"
View Source
const OutFileDescription = "Path to output file"
View Source
const PackageName = "package-name"
View Source
const PackageNameDescription = "Package name"
View Source
const ServicesPath = "services-path"
View Source
const ServicesPathDescription = "Path to scaffold services code"
View Source
const SpecFile = "spec-file"
View Source
const SpecFileDescription = "Path to specification file"
View Source
const SwaggerPath = "swagger-path"
View Source
const SwaggerPathDescription = "Path of generated OpenAPI (Swagger) specification file"
View Source
const TsServer = "server"
View Source
const TsServerDescription = "TypeScript server library: express, koa"
View Source
const Validation = "validation"
View Source
const ValidationDescription = "TypeScript validation library: superstruct, io-ts"
Variables ¶
This section is empty.
Functions ¶
func GenCommandMarkdown ¶ added in v2.0.821
func GenCommandsMarkdown ¶ added in v2.0.821
func GenMarkdownDocumentation ¶ added in v2.0.821
Types ¶
This section is empty.
Source Files ¶
- argsnames.go
- client-go.go
- client-ruby.go
- client-scala-sttp.go
- client-ts-axios.go
- markdown.go
- models-go.go
- models-java.go
- models-ruby.go
- models-scala-circe.go
- models-ts.go
- openapi.go
- root.go
- service-go.go
- service-java-spring.go
- service-scala-play.go
- service-ts.go
- spec-convert.go
- spec-format.go
- spec.go
Click to show internal directories.
Click to hide internal directories.