Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A very simple tool that converts Swagger Api Document to Html File.

Notifications You must be signed in to change notification settings

bytesfly/Swagger2Html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

A very simple tool that converts Swagger Api Document to Html File.

Swagger接口文档转为html文档小工具

使用

# 下载源码
git clone https://github.com/iflyendless/Swagger2Html.git
# 编译打包
mvn clean package
# 使用target目录下的jar包, 参数是swagger接口数据
java -jar Swagger2Html-1.0-SNAPSHOT-jar-with-dependencies.jar http://localhost:8080/v2/api-docs

项目由来

很多人用swagger2markup以及asciidoctor-maven-plugin插件来生成html格式的文档。

由于swagger2markup依赖的asm库版本较低, 且依赖较多, 容易与项目中依赖的核心库冲突。

所以, 干脆把Swagger接口文档转为html文档独立出来, 做成一个小工具。

About

A very simple tool that converts Swagger Api Document to Html File.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /