Welkin1027 commented on issue #4263:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4263#issuecomment-1982953656

   > 去掉@requestbody注解之后,该接口验证通过,但这没有意义,有没有什么办法不让Servicecomb的注解影响到原本的工程?
   
   这个问题已经解决了,File类文件需要使用@RequestPart。不过还有别的问题,比如参数不可以是HttpServletResponse。
   Caused by: java.lang.IllegalStateException: all input/output of ServiceComb 
operation are models, not allow to use HttpServletResponse.
   
org.apache.servicecomb.swagger.generator.core.AbstractOperationGenerator.validateParameter(AbstractOperationGenerator.java:313)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to