mirror of
https://github.com/201206030/novel.git
synced 2025-07-06 21:16:38 +00:00
perf: 仅在 dev 环境生成接口文档
This commit is contained in:
@ -184,6 +184,11 @@ management:
|
||||
# 关闭 elasticsearch 的健康检查
|
||||
enabled: false
|
||||
|
||||
--- #--------------------接口文档配置---------------------------
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: false
|
||||
|
||||
--- #---------------------自定义配置----------------------------
|
||||
novel:
|
||||
# 跨域配置
|
||||
@ -214,6 +219,9 @@ spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: dev
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: true
|
||||
|
||||
--- #------------------- test 特定配置--------------------------
|
||||
spring:
|
||||
|
Reference in New Issue
Block a user