This is an automated email from the ASF dual-hosted git repository.

deepak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e6072336e Added welcome-file for swagger docs, now it will redirect 
user to swagger-ui by default
e6072336e is described below

commit e6072336eefb39cd3a296dc28238123ed49e01ef
Author: Deepak Dixit <[email protected]>
AuthorDate: Thu Aug 21 11:31:31 2025 +0530

    Added welcome-file for swagger docs, now it will redirect user to 
swagger-ui by default
---
 rest-api/webapp/docs/WEB-INF/web.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rest-api/webapp/docs/WEB-INF/web.xml 
b/rest-api/webapp/docs/WEB-INF/web.xml
index 6ba0fca95..d5a9404e6 100644
--- a/rest-api/webapp/docs/WEB-INF/web.xml
+++ b/rest-api/webapp/docs/WEB-INF/web.xml
@@ -21,4 +21,7 @@ under the License.
 <web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd";>
     <display-name>Apache OFBiz - REST API Swagger Component</display-name>
     <description>REST API Swagger Component of the Apache OFBiz 
Project</description>
+    <welcome-file-list>
+        <welcome-file>swagger-ui.html</welcome-file>
+    </welcome-file-list>
 </web-app>

Reply via email to