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

[jira] [Updated] (SCB-206) Support @Api to specify produces and consumes

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

Yang Bo updated SCB-206:
------------------------
    Fix Version/s: java-chassis-1.0.0-m2

> Support @Api to specify produces and consumes
> ---------------------------------------------
>
>                 Key: SCB-206
>                 URL: https://issues.apache.org/jira/browse/SCB-206
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Trivial
>             Fix For: java-chassis-1.0.0-m2
>
>
> At present, ServiceComb only process the `tags` of io.swagger.annotations.Api. If user specify produces and consumes in `@Api`, nothing will happen. 
> The support to these two fields should be added if necessary. The hierarchy relationship of `SwaggerDefinition`, `Api`, `ApiOperation` is that `Api` overrides `SwaggerDefinition`, `ApiOperation` overrides `Api`.



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