feat: 引入Web与OpenAPI依赖并忽略本地开发配置

This commit is contained in:
2026-05-18 20:52:25 +08:00
parent 4419ede05f
commit 1c20c45b6b
2 changed files with 18 additions and 1 deletions

3
.gitignore vendored
View File

@@ -31,4 +31,5 @@ build/
### VS Code ###
.vscode/
/docs/
/docs/
src/main/resources/application-dev.yaml

16
pom.xml
View File

@@ -36,6 +36,11 @@
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot4-starter</artifactId>
@@ -54,6 +59,17 @@
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.8.13</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>