1、pom依赖
创建springboot项目,勾选依赖
添加screw需要的依赖,检查是否最新版本
2、测试类
下面填写自己的mysql账号密码
3、生成文档测试类
/Users/mac/Desktop 这个是自己电脑的路径,我的是mac,windows需要更换路径。
import cn.smallbun.screw.core.Configuration;
import cn.smallbun.screw.core.engine.EngineConfig;
import cn.smallbun.screw.core.engine.EngineFileType;
import cn.smallbun.screw.core.engine.EngineTemplateType;
import cn.smallbun.screw.core.execute.DocumentationExecute;
import cn.smallbun.screw.core.process.Pro