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/17 03:18:00 UTC

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

     [ https://issues.apache.org/jira/browse/SCB-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liubao resolved SCB-1728.
-------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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)