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:11:00 UTC
[jira] [Issue Comment Deleted] (SCB-195) Improve support to Swagger
tag
[ https://issues.apache.org/jira/browse/SCB-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YaoHaishi updated SCB-195:
--------------------------
Comment: was deleted
(was: In addition, Empty value filter logic is added into `SwaggerDefinitionProcessor`. Because I've found that once we use `@SwaggerDefinition` annotation but don't specify all of the fields,
the empty field will be generated in swagger file as empty string `""`, and the official swagger editer(I mean [http://editor.swagger.io/#/|http://editor.swagger.io/#/]) will mark such place as error like below:
!the empty string marked as error.png!)
> Improve support to Swagger tag
> ------------------------------
>
> Key: SCB-195
> URL: https://issues.apache.org/jira/browse/SCB-195
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Reporter: YaoHaishi
> Assignee: YaoHaishi
> Fix For: java-chassis-1.0.0-m1
>
> Attachments: the empty string marked as error.png
>
>
> As a user, I want to use io.swagger.annotations.Api annotation to set default tags to operations.
> At present, ServiceComb doesn't support `@Api` annotation, we need to provide a processor to handle this annotation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)