<servlet>
<servlet-name>Apple</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Apple</servlet-name>
<url-pattern>/Apple-swagger/*</url-pattern>
</servlet-mapping>
We also have three .properties files in our resource directory that contain the following:
documentation.services.basePath=http://0.0.0.0:8081/Apple-swagger
documentation.services.version=1.0
In the index html, we link to each of the other html pages which runs javascript to load the swagger doc on the page. We have not been able to get multiple pages loaded simultaneously. Each page says "Cant read swagger json...." Now, we're not even sure if this is possible because the pet store example is using one page for everything but we felt like this was possible. So any help would be highly appreciated.
--
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 swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Oh, I'm embarrassed...I'm definitely using Spring MVC I thought this google group would apply but I guess I'm wrong
--
This is in our pom file
<dependency>
<groupId>com.mangofactory</groupId>
<artifactId>swagger-springmvc</artifactId>
<version>0.6.6</version>
--