You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework/fit/java/articles/FIT框架:重新定义模块隔离与部署自由,让Swagger从生产环境“优雅消失”.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ FIT 框架默认配置`Swagger`功能插件,基于上面的操作步骤,访
108
108
109
109
若不希望部署`Swagger`插件,只需要在 FIT 内置插件目录中将`Swagger`插件移除:
110
110
111
-
首先结束`fit`进程,打开`framework/fit/java/target/plugins`,该目录存放了编译 FIT 框架后生成的所有内置插件,删除插件`fit-http-openapi3-swagger-3.6.0-SNAPSHOT.jar`,重新启动 FIT 框架,此时环境中并没有部署`Swagger`插件,访问 `http://localhost:8080/openapi.html` 将得到 404 响应:
111
+
首先结束`fit`进程,打开`build/plugins`,该目录存放了编译 FIT 框架后生成的所有内置插件,删除插件`fit-http-openapi3-swagger-3.6.0-SNAPSHOT.jar`,重新启动 FIT 框架,此时环境中并没有部署`Swagger`插件,访问 `http://localhost:8080/openapi.html` 将得到 404 响应:
112
112
113
113
```json
114
114
{
@@ -128,7 +128,7 @@ FIT 框架默认配置`Swagger`功能插件,基于上面的操作步骤,访
0 commit comments