提交 af037aa8 authored 作者: jiangwujie's avatar jiangwujie

提交

上级 a0b43040
......@@ -40,6 +40,7 @@
<groupId>com.itextpdf</groupId>
<artifactId>itext7-core</artifactId>
<version>7.2.3</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
......
......@@ -27,13 +27,50 @@ public class Main {
public static void main(String[] args) throws Exception {
// doReplace("D:\\develop\\clx_projects\\msl-supervise\\supervise-web");
// doReplace("D:\\develop\\clx_projects\\msl-common-starter\\log-spring-boot-starter");
// doReplace("D:\\develop\\clx_projects\\msl-quality");
// doReplace("D:\\develop\\clx_projects\\msl-message");
// doReplace("D:\\develop\\clx_projects\\esign-non-standard-sdk");
// doReplace("D:\\develop\\clx_projects\\msl-document\\document-api");
// doReplace("D:\\develop\\clx_projects\\trade\\trade-settlement");
doReplace("D:\\develop\\clx_projects\\trade\\trade-fund");
// doReplace("D:\\develop\\clx_projects\\trade\\trade-performance\\trade-performance-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-open");
// doReplace("D:\\IdeaProjects\\clx\\clx-open\\clx-open-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-open\\clx-open-sdk");
// doReplace("D:\\IdeaProjects\\clx\\clx-open\\clx-open-web");
// doReplace("D:\\IdeaProjects\\clx\\clx-user");
// doReplace("D:\\IdeaProjects\\clx\\clx-user\\clx-user-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-user\\clx-user-web");
// doReplace("D:\\IdeaProjects\\clx\\lms-manage");
// doReplace("D:\\IdeaProjects\\clx\\lms-manage\\lms-manage-api");
// doReplace("D:\\IdeaProjects\\clx\\lms-manage\\lms-manage-sdk");
// doReplace("D:\\IdeaProjects\\clx\\common-open");
// doReplace("D:\\IdeaProjects\\clx\\common-open\\open-core");
// doReplace("D:\\IdeaProjects\\clx\\common-open\\open-sdk");
// doReplace("D:\\IdeaProjects\\clx\\common-open\\open-starter");
// doReplace("D:\\IdeaProjects\\clx\\clx-setting");
// doReplace("D:\\IdeaProjects\\clx\\clx-setting\\setting-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-setting\\web");
// doReplace("D:\\IdeaProjects\\clx\\clx-statistics");
// doReplace("D:\\IdeaProjects\\clx\\clx-statistics\\clx-statistics-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-statistics\\clx-statistics-web");
// doReplace("D:\\IdeaProjects\\clx\\clx-order");
// doReplace("D:\\IdeaProjects\\clx\\clx-order\\order-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-order\\order-web");
doReplace("D:\\IdeaProjects\\clx\\clx-contract");
doReplace("D:\\IdeaProjects\\clx\\clx-contract\\contract-api");
doReplace("D:\\IdeaProjects\\clx\\clx-contract\\web");
// doReplace("D:\\IdeaProjects\\clx\\clx-performance");
// doReplace("D:\\IdeaProjects\\clx\\clx-performance\\performance-api");
// doReplace("D:\\IdeaProjects\\clx\\clx-performance\\performance-web");
// doReplace("D:\\IdeaProjects\\clx\\purchase-manage");
// doReplace("D:\\IdeaProjects\\clx\\purchase-manage\\purchase-manage-api");
// doReplace("D:\\IdeaProjects\\clx\\purchase-manage\\purchase-manage-sdk");
// doReplace("D:\\IdeaProjects\\clx\\purchase-manage\\purchase-manage-web");
}
public static void doReplace(String path) throws Exception {
......
......@@ -28,6 +28,7 @@ public class JavaNormalUpdater extends NormalUpdater {
LIST.add(Pair.with("import io.swagger.annotations.ApiModelProperty;", "import io.swagger.v3.oas.annotations.media.Schema;"));
LIST.add(Pair.with("@ApiModelProperty(value", "@Schema(description"));
LIST.add(Pair.with("@ApiModelProperty(\"", "@Schema(description=\""));
LIST.add(Pair.with("@ApiModelProperty( \"", "@Schema(description=\""));
LIST.add(Pair.with("@ApiModelProperty(hidden = true)", "@Schema(hidden = true)"));
LIST.add(Pair.with("@ApiModelProperty(hidden = true, value = \"", "@Schema(hidden = true, description = \""));
LIST.add(Pair.with("@ApiModelProperty\n", "@Schema\n"));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论