[
https://issues.apache.org/jira/browse/SCB-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YaoHaishi resolved SCB-964.
---------------------------
Resolution: Fixed
Fix Version/s: java-chassis-1.1.0
> Fix MediaType setting problem
> -----------------------------
>
> Key: SCB-964
> URL: https://issues.apache.org/jira/browse/SCB-964
> Project: Apache ServiceComb
> Issue Type: Bug
> Affects Versions: java-chassis-1.1.0
> Reporter: YaoHaishi
> Assignee: YaoHaishi
> Priority: Major
> Fix For: java-chassis-1.1.0
>
>
> When users set consumes/produces by @RequestMapping annotation, and then set
> consumes/produces by @ApiOperation again. An UnsupportedOperationException
> will be thrown because RequestMappingMethodAnnotationProcessor set a List
> into consumes/produces of swagger Operation that does not allow add()
> operation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)