huiqi 4 сар өмнө
parent
commit
e581e5a9b7

+ 7 - 0
Backend/sample/src/main/resources/application.yml

@@ -222,3 +222,10 @@ mail-info:
   timeout: 0
   # Socket连接超时值,单位毫秒,缺省值不超时
   connectionTimeout: 0
+
+# 关闭API文档生成
+springdoc:
+  api-docs:
+    enabled: false
+  swagger-ui:
+    enabled: false