[
https://issues.apache.org/jira/browse/SCB-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YaoHaishi resolved SCB-206.
---------------------------
Resolution: Fixed
PR has been merged.
> 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.1.0
>
>
> 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)