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/01/08 09:39:00 UTC
[jira] [Created] (SCB-206) Support @Api to specify produces and
consumes
YaoHaishi created SCB-206:
-----------------------------
Summary: 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
Reporter: YaoHaishi
Assignee: YaoHaishi
Priority: Trivial
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
(v6.4.14#64029)