给工程增加swagger功能

This commit is contained in:
zlwu committed 2025-07-06 11:23:18 +08:00
1 parent fac46baa47
commit 6207f8dea3
7 files changed
+209 -4

No files matched your search

@@ -112,6 +112,13 @@ security:
- /error
- /*/api-docs
- /*/api-docs/**
- /api-docs
- /api-docs/**
- /swagger-ui/**
- /swagger-ui.html
- /swagger-ui/index.html
- /v3/api-docs/**
- /webjars/**
- /warm-flow-ui/config
# 多租户配置
@@ -179,6 +186,13 @@ springdoc:
api-docs:
# 是否开启接口文档
enabled: true
# 接口文档路径
path: /api-docs
swagger-ui:
# 启用 Swagger UI
enabled: true
# Swagger UI 路径
path: /swagger-ui.html
info:
# 标题
title: '标题:杭州第一技师学院智慧校园管理系统_接口文档'