feat: 集成 SpringDoc OpenAPI + Swagger UI 文档页面
- 添加 springdoc-openapi-starter-webmvc-ui 2.5.0 - OpenApiConfig 配置 API 标题、描述、版本、认证方案 - 文档包含 Bearer Token 和 HMAC 签名两种认证说明 - Swagger UI: /swagger-ui.html - OpenAPI JSON: /v3/api-docs
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
<artifactId>lombok</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringDoc OpenAPI / Swagger UI -->
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user