swagger 入门

官网: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

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