1. 对List不能很好的支持
1.1. 核心代码
代码中写的是数组
1 2 3 4 5
   | 
 
  @ApiModelProperty(value = "用户",example = "hellowang") private List<String> user;
 
  | 
 
1.2. 问题详情
在swagger页面展示的例子是字符串
1 2 3
   | {   "user": "hellowang" }
  | 
 
1.3. 问题讨论
 Stackoverflow
 Github
1.4. 解决方案
springfox-collection-example-plugin
         
        
    
    
        
    最后更新时间:
        
        这里可以写作者留言,标签和 hexo 中所有变量及辅助函数等均可调用,示例:
<%- page.permalink.replace(/index\.html$/, '') %>