MabinGo 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_r305618246
##########
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:
DOC_FORMAT was wrong before, canProcess was uesed to choose the default
implement by toolkit, it will be supported implement customized by users soon,
so no need to fix now.
----------------------------------------------------------------
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