Swagger 自定义UI界面
·
使用swagger-ui-layer
github上有源码,取名为swagger-ui-layer。
欢迎star,fork,commit,也可以随意修改成自己喜欢的UI风格
github地址:https://github.com/caspar-chen/swagger-ui-layer
码云地址:https://www.oschina.net/p/swagger-ui-layer
要使用swagger-ui-layer很简单
只需要在pom.xml中加入引用就可以了
<dependency>
<groupId>com.github.caspar-chen</groupId>
<artifactId>swagger-ui-layer</artifactId>
<version>0.0.3/version>
</dependency>
- 1
- 2
- 3
- 4
- 5
然后就可以直接查看效果了
swagger-ui-layer 的默认访问地址是: http://${host}:${port}/${项目名}/docs.html
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)