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

1
.gitignore vendored
View File

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

16
pom.xml
View File

@@ -36,6 +36,11 @@
<artifactId>spring-boot-starter</artifactId> <artifactId>spring-boot-starter</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot4-starter</artifactId> <artifactId>mybatis-plus-spring-boot4-starter</artifactId>
@@ -54,6 +59,17 @@
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </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> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>