[ 
https://issues.apache.org/jira/browse/SCB-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubao updated SCB-2107:
------------------------
    Description: 
In `contract first` development mode, user's writing swaggers by hand. But some 
times , these swaggers contents will be changed when register to service center 
and cause startup fail. This is because we parse swagger content to Swagger 
object, and again from Swagger to text content. 

 

We can add a `syntaxt` check if Swagger if equals, not depends on text content. 

> Fixed the issue of inconsistent false positives after re-serialization using 
> swagger to parse different JDK versions.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCB-2107
>                 URL: https://issues.apache.org/jira/browse/SCB-2107
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.3.0
>            Reporter: zyl
>            Assignee: zyl
>            Priority: Major
>             Fix For: java-chassis-1.3.1, java-chassis-2.1.2
>
>
> In `contract first` development mode, user's writing swaggers by hand. But 
> some times , these swaggers contents will be changed when register to service 
> center and cause startup fail. This is because we parse swagger content to 
> Swagger object, and again from Swagger to text content. 
>  
> We can add a `syntaxt` check if Swagger if equals, not depends on text 
> content. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to