You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "jeho0815 (JIRA)" <ji...@apache.org> on 2018/11/21 08:18:00 UTC

[jira] [Updated] (SCB-1031) The Response's properties was overrided wrong between @APIOperation and @Resoponse on the controller method

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

jeho0815 updated SCB-1031:
--------------------------
    Summary: The Response's properties was overrided wrong between @APIOperation and @Resoponse on the controller method  (was: The Response's properties was overrided error between @APIOperation and @Resoponse on the controller method)

> The Response's properties was overrided wrong between @APIOperation and @Resoponse on the controller method
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SCB-1031
>                 URL: https://issues.apache.org/jira/browse/SCB-1031
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: jeho0815
>            Assignee: jeho0815
>            Priority: Major
>
> @ApiResponse(code = 200, message = "200 is ok............", response = String.class, responseHeaders = @ResponseHeader(name = "x-user-domain", response = String.class))
>  @ApiOperation(nickname="getHelloworld", value="test", notes="this is a test", response = Integer.class, code = 200, 
>  responseHeaders =
> {@ResponseHeader(name = "x-user-name", response = String.class), @ResponseHeader(name = "x-user-id", response = String.class)}
> )
>  
> swagger 's response's descritpion will be default "resoponse of 200", the best descritpion  should be "200 is ok............"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)