Hi, here is my web.xml

    <servlet>
<servlet-name>springServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/config/web-servlet.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
    <servlet-mapping>
<servlet-name>springServlet</servlet-name>
<url-pattern>*.do</url-pattern>
    </servlet-mapping>

but, when I try it out in swagger-ui, it sends a request having a url 
without suffix '.do', surely 404  returns, how can I config it?

One way to fix it is to do some changes in the js of swagger-ui, but it's 
not a good way.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to