![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
swagger2
天又热了
,
展开
-
Illegal DefaultValue 10 for parameter type integer
<!--集成swagger2文档--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.9.2</version> </depende...原创 2020-10-09 08:01:25 · 664 阅读 · 0 评论 -
swagger实现example效果
package cn.hctech2006.softcup.isomerase.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel(description = "数据源数据传输层模型") public class DatabaseDTO { @ApiModelProperty(name = "host", value = "主机地址", req原创 2020-10-05 21:32:54 · 7918 阅读 · 2 评论 -
swagger去掉请求体中多余参数同时显示完整返回实体各个字段标注的方法
@ApiOperation(value = "教学视频上传接口") @ApiImplicitParams({ @ApiImplicitParam(paramType = "query", name = "videoName", value = "视频名") }) @PostMapping("/video") @ApiResponses({ @ApiResponse(code = 200, message = "ok", resp原创 2020-09-26 07:44:45 · 3335 阅读 · 0 评论