Skip to content

通过swagger spec文件生成markdown文档, generate markdown docs with swagger spec

Notifications You must be signed in to change notification settings

hudangwei/apidoctool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

根据swagger spec 生成markdown文档

go get -v github.com/hudangwei/apidoctool
./apidoctool -h
NAME:
   apidoctool - generate markdown docs with swagger spec

USAGE:
   apidoctool [global options] command [command options] [arguments...]

VERSION:
   0.0.0

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --loglevel value, -l value  set log level (default: "debug") [$LOG_LEVEL]
   --FilePath value, -f value  swagger spec file or swagger spec url (default: "swagger.json") [$SWAGGER_SPEC_FILEPATH]
   --help, -h                  show help
   --version, -v               print the version

示例

apidoctool -f http://xxxxxxxx.com/v2/api-docs
或
apidoctool -f swagger.json

About

通过swagger spec文件生成markdown文档, generate markdown docs with swagger spec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages