mirror of https://github.com/halo-dev/halo
Disable Swagger cache in development environment (#5200)
#### What type of PR is this? /kind improvement /area core #### What this PR does / why we need it: When we are developing a plugin in development environment, APIs in plugin are frequently changed. But they are not reflected in Swagger UI instantly unless we restart Halo entirely. This PR disables Swagger cache in that case. #### Does this PR introduce a user-facing change? ```release-note None ```pull/5177/head^2
parent
3de60dd938
commit
86e688a15d
|
@ -31,6 +31,8 @@ logging:
|
|||
run.halo.app: DEBUG
|
||||
org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler: DEBUG
|
||||
springdoc:
|
||||
cache:
|
||||
disabled: true
|
||||
api-docs:
|
||||
enabled: true
|
||||
version: OPENAPI_3_1
|
||||
|
|
Loading…
Reference in New Issue