You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2020/01/16 06:31:00 UTC

[jira] [Created] (SCB-1728) support response headers in Response type

liubao created SCB-1728:
---------------------------

             Summary: support response headers in Response type
                 Key: SCB-1728
                 URL: https://issues.apache.org/jira/browse/SCB-1728
             Project: Apache ServiceComb
          Issue Type: Sub-task
          Components: Java-Chassis
            Reporter: liubao
            Assignee: liubao
             Fix For: java-chassis-2.0.0


```

@ApiResponse(code = 200, response = User.class, message = "")
@ResponseHeaders({@ResponseHeader(name = "h1", response = String.class),
 @ResponseHeader(name = "h2", response = String.class)})
@RequestMapping(path = "/cseResponse", method = RequestMethod.GET)
public Response cseResponse(InvocationContext c1) {

```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)