浏览代码

Merge branch 'dev' of chenweida/jw2.0 into dev

chenweida 7 年之前
父节点
当前提交
fc38a4cf20
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      svr/svr-iot/src/main/java/com/yihu/iot/config/SwaggerConfig.java

+ 4 - 4
svr/svr-iot/src/main/java/com/yihu/iot/config/SwaggerConfig.java

@ -63,11 +63,11 @@ public class SwaggerConfig {
     * @throws Exception
     */
    public static void main(String[] args) throws Exception {
        String groupName="system";
        // String groupName="iot";
        //String groupName="system";
         String groupName="iot";
        URL remoteSwaggerFile = new URL("http://127.0.0.1:8080//v2/api-docs?group="+groupName);
        Path outputFile = Paths.get("open-api/build/"+groupName);
        URL remoteSwaggerFile = new URL("http://127.0.0.1:10050//v2/api-docs?group="+groupName);
        Path outputFile = Paths.get("svr/svr-iot/build/"+groupName);
        Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
                .withMarkupLanguage(MarkupLanguage.ASCIIDOC)