-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新README
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |