hwzhu-hoop commented on issue #4750:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4750#issuecomment-2732981916

   `
   import io.swagger.annotations.Api;
   import io.swagger.v3.oas.annotations.Parameter;
   import jakarta.servlet.http.Part;
   import org.apache.servicecomb.provider.rest.common.RestSchema;
   import org.springframework.http.MediaType;
   import org.springframework.web.bind.annotation.PostMapping;
   import org.springframework.web.bind.annotation.RequestPart;
   
   @RestSchema(schemaId = "test")
   @Api(value = "demo data controller", tags = "test")
   public class StreamController2 {
       
       @PostMapping(value = "/stream", consumes = 
MediaType.MULTIPART_FORM_DATA_VALUE, produces = 
MediaType.MULTIPART_FORM_DATA_VALUE)
       public void stream(@RequestPart @Parameter Part part) {
   
       }
   
   }
   `
   
   


-- 
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