Make sure invokeOperation is set once
[controller.git] / opendaylight / adsal / northbound / swagger-ui / src / main / resources / WEB-INF / web.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <web-app xmlns="http://java.sun.com/xml/ns/javaee"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
5          version="3.0">
6   <servlet>
7      <servlet-name>BasePathModifierServlet</servlet-name>
8      <servlet-class>org.opendaylight.controller.swaggerui.BasePathModifierServlet</servlet-class>
9   </servlet>
10   <!-- Mapping for all northbound json files aka apis-->
11   <servlet-mapping>
12     <servlet-name>BasePathModifierServlet</servlet-name>
13     <url-pattern>/apis/*</url-pattern>
14   </servlet-mapping>
15   <!-- Mapping to get list of available NB apis -->
16   <servlet-mapping>
17     <servlet-name>BasePathModifierServlet</servlet-name>
18     <url-pattern>/apilist.json</url-pattern>
19   </servlet-mapping>
20   <welcome-file-list>
21     <welcome-file>index.html</welcome-file>
22   </welcome-file-list>
23 </web-app>