You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (JIRA)" <ji...@apache.org> on 2018/10/19 10:57:00 UTC

[jira] [Resolved] (SCB-964) Fix MediaType setting problem

     [ 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)