码迷,mamicode.com
首页 > 其他好文 > 详细

swagger 入门

时间:2016-08-06 09:52:35      阅读:487      评论:0      收藏:0      [点我收藏+]

标签:

官网:http://swagger.io/

技术分享

 

Swagger UI 下载地址:

https://github.com/swagger-api/swagger-ui

技术分享

文档:README.md

### Download
You can use the swagger-ui code AS-IS! No need to build or recompile--just clone this repo and use the pre-built files in the `dist` folder. If you like swagger-ui as-is, stop here.

注解API:

<!-- http://mvnrepository.com/artifact/io.swagger/swagger-annotations -->
<dependency>
    <groupId>io.swagger</groupId>
    <artifactId>swagger-annotations</artifactId>
    <version>1.5.9</version>
</dependency>

注解示例:

http://www.programcreek.com/java-api-examples/index.php?api=io.swagger.annotations.ApiOperation

技术分享

swagger 入门

标签:

原文地址:http://www.cnblogs.com/zno2/p/5546276.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!