[ 
https://issues.apache.org/jira/browse/SCB-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315620#comment-16315620
 ] 

YaoHaishi commented on SCB-195:
-------------------------------

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

Reply via email to