Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
更新README
  • Loading branch information
jnan88 authored Jan 27, 2019
1 parent c053deb commit 2756bd5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# swagger-to-html
swagger可视化工具,用于指定的swagger url 生成可视化的单页面html

## 依赖环境
jdk8

## 使用方法
```
java -jar swagger-to-html.jar "此处是你swaggerAPI的json内容访问地址"
```

例如:java -jar swagger-to-html.jar "http://localhost:8080/v2/api-docs"

生成完毕后将在运行目录下创建两个文件:apidoc.adoc和apidoc.html

0 comments on commit 2756bd5

Please sign in to comment.