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

jeho0815 closed SCB-1031.
-------------------------
       Resolution: Fixed
    Fix Version/s: java-chassis-1.1.0

> 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
>             Fix For: java-chassis-1.1.0
>
>
> @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)

Reply via email to