Documentation ¶
Index ¶
- Constants
- func Execute()
- func GenCommandMarkdown(m *markdown.Markdown, cmdPath []string, command *cobra.Command)
- func GenCommandsMarkdown(m *markdown.Markdown, commandPath []string, command *cobra.Command, ...)
- func GenMarkdownDocumentation(cmd *cobra.Command, filePath string, skipCommands []string) error
- func GenRootCommandMarkdown(m *markdown.Markdown, command *cobra.Command, skipCommands []string)
Constants ¶
View Source
const Format = "format"
View Source
const FormatDescription = "specification format to convert specification from: spec-2.0, openapi"
View Source
const GeneratePath = "generate-path"
View Source
const GeneratePathDescription = "path to generate source code into"
View Source
const InFile = "in-file"
View Source
const InFileDescription = "path for input specification file"
View Source
const KotlinJsonLib = "jsonlib"
View Source
const KotlinJsonLibDescription = "Kotlin JSON library: jackson"
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 TsClient = "client"
View Source
const TsClientDescription = "client TypeScript library: axios, node-fetch, browser-fetch"
View Source
const TsServer = "server"
View Source
const TsServerDescription = "server TypeScript library: express, koa"
View Source
const TsValidation = "validation"
View Source
const TsValidationDescription = "validation TypeScript 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-java.go
- client-kotlin.go
- client-ruby.go
- client-scala.go
- client-ts.go
- markdown.go
- models-go.go
- models-java.go
- models-kotlin.go
- models-ruby.go
- models-scala.go
- models-ts.go
- openapi.go
- root.go
- service-go.go
- service-java.go
- service-scala.go
- service-ts.go
- spec-convert.go
- spec-format.go
- spec.go
Click to show internal directories.
Click to hide internal directories.