Springfox 2.6.0 发布了,Springfox的前身是swagger-springmvc,是一个开源的API doc框架,可以将我们的Controller的方法以文档的形式展现。 改进内容: (#1498) Add pathsGroupedBy configuration of Swagger2Markup @orevial (#1492) Intermediate push @davidnewcomb (#1486) remove duplicate enum values @apixandru (#1483) Update common-problems.adoc @qwang1990 (#1477) Initial support for spring-data-rest @dilipkrish (#1476) Fix mistype in documentation @mvpotter (#1474) Merge method-level and class-level @ApiResponses annotations. @sworisbreathing (#1470) Supporting for hidden attribute of @ApiParam and @ApiModelProperty annotations.@MaksimOrlov (#1469) Fixing java.sql.Date to be a date in swagger instead of date-time @mtalbot (#1463) Add 'example' in merged model @wssccc (#1456) java.sql.Date should become a "date" in JSON Schema output, according to docs@ssevertson (#1448) Update to use swagger2markup version 1.0+ @ssevertson (#1445) upgrade to swagger-ui 2.2.0 @kevinchabreck (#1388) S3 maven repo @jongo593 (#1386) #1373 - Modified how to set jsonEditor parameter @miborra (#1350) Complex type support by @ModelAttribute @MaksimOrlov 新特性 (#1494) Define a reason for applying @ApiIgnore @gdrouet (#1465) Type-level @ApiResponses are ignored looking-for-contributions @sworisbreathing (#1444) Support for rendering parameters and model attributes when no annotations are present@tianchengbaihe (#1412) Mixing string and Properties parameters causes display error in 2.5.0 has-workaround@rherrick (#1395) Swagger ui dose not work when @RequestParam annotation dose not set to method parameter @azizkhani (#1335) Ability to add custom ApiDescriptions not described via request mappings @romanwozniak (#1294) Utilize the jackson property definition to determine additional model information@dilipkrish (#1286) Make 'supportedSubmitMethods' configurable to enable and disable the "Try it out!" functionality @mibeumer (#1271) @ResponseHeader description not generated in apidocs @basvanstratum (#1137) Support VendorExtensions described as swagger schema @MinosPong (#1021) Add @JsonFormat support for date and time @YLombardi (#699) Integration with Spring-Data-Rest @raranzueque Bug 修复 (#1504) "infinity" in allowableValues property of @ApiModelProperty annotation@SomeoneToIgnore (#1485) Remove duplicate values in enum displays (case insensitive) @apixandru (#1475) Map> not displayed correctly @jlaugesen (#1440) Springfox expects _links to be array, while Spring hateoas return _links as object@jiangchuan1220 (#1436) Explicit value JsonProperty ignored when PropertyNamingStrategy is configured not-reproducable @mborkunov (#1420) Result of adding tags to docket in swagger configuration @ChrisHartman (#1380) ApiResponses can not support custom status code such like 1010 @dockerlet (#1361) Request header "Content-Type" is not being sent with request wontfix @manish2aug (#1353) RequestParam with a map crashes swagger-ui wontfix @BryceMehring (#1346) @ApiIgnore is not respected on a method @ben 发行说明: https://github.com/springfox/springfox/releases/tag/2.6.0 下载地址: Source code (zip) Source code (tar.gz) Springfox 2.6.0 发布,开源的 API doc 框架下载地址