问题描述
我正在使用最后一个(也是唯一一个)
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
带弹簧靴
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
我希望能够在一个控制器中上传文件和模型,所以我创建了一个:
在这种情况下,在 swagger-ui 上我只看到没有模型的文件上传:
我在邮递员那里试过这个案例,效果很好
这是一个错误吗?或者我应该添加一些其他注释以使其工作?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)