WillemJiang commented on a change in pull request #8: SCB-1384 refact the code 
to optimize user experience
URL: https://github.com/apache/servicecomb-toolkit/pull/8#discussion_r305603247
 
 

 ##########
 File path: 
docgen/src/main/java/org/apache/servicecomb/toolkit/docgen/ContractsSwaggerUIGenerator.java
 ##########
 @@ -52,7 +50,7 @@
   @Override
 
   public boolean canProcess(String type) {
-    return DOC_FORMAT.equals(type);
+    return "default".equals(type);
 
 Review comment:
   I don't think default is a validated doc format.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to