mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
test: codegen with swagger.
This commit is contained in:
parent
9b8dd76fba
commit
f482afbfd0
@ -85,7 +85,7 @@ public class GeneratorTest {
|
||||
generator.generate();
|
||||
}
|
||||
|
||||
// @Test
|
||||
// @Test
|
||||
public void testCodeGen2() {
|
||||
//配置数据源
|
||||
HikariDataSource dataSource = new HikariDataSource();
|
||||
@ -122,6 +122,7 @@ public class GeneratorTest {
|
||||
globalConfig.enableEntity()
|
||||
.setOverwriteEnable(true)
|
||||
.setWithLombok(true)
|
||||
.setWithSwagger(true)
|
||||
.setSuperClass(BaseEntity.class);
|
||||
|
||||
//配置生成 mapper
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user