springdoc-openapi请求以application/octet-stream发送而非multipart/form-data求助
问题:springdoc-openapi发送请求时错误使用application/octet-stream而非multipart/form-data
我遇到springdoc-openapi发送请求时,错误使用application/octet-stream而非multipart/form-data的问题,尝试过Stack Overflow上的多种解决方案均无效。
我的依赖版本信息如下:
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.0.5</version> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> <version>2.1.0</version> </dependency>
曾参考过类似问题:OpenApi发送包含JSON的MultipartFile请求时,出现'application/octet-stream'类型不支持的错误。
恳请社区帮忙解决此问题。
内容的提问来源于stack exchange,提问作者Shashwat Pandey
相关产品推荐
相关产品推荐

