YaoHaishi created SCB-964:
-----------------------------
Summary: 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
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)