400 : Error: HTTP 404 Not Found http://localhost:8081/jaxrs-service/api/swagger.json<security:intercept-url method="GET" pattern="/api/**"
access="IS_AUTHENTICATED_ANONYMOUSLY" /><dependency>
<exclusions>
<exclusion>
<artifactId>jsr311-api</artifactId>
<groupId>javax.ws.rs</groupId>
</exclusion>
</exclusions>
<groupId>io.swagger</groupId>
<artifactId>swagger-jaxrs</artifactId>
<version>1.5.0</version>
</dependency>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>unpack</id>
<phase>initialize</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.wordnik</groupId>
<artifactId>swagger-ui</artifactId>
<version>2.0.18.ONTO</version>
<type>zip</type>
<outputDirectory>src\main\resources\dev\swagger</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin><bean id="swaggerConfig" class="io.swagger.jaxrs.config.BeanConfig">
<property name="resourcePackage" value="xxxxxxxxxxxxxxxxxxxxx" />
<property name="version" value="1.3.6" />
<property name="schemes" value="http" />
<property name="host" value="localhost:8081" />
<property name="basePath" value="api" />
<property name="title" value=" API" />
<property name="description" value="Some sample text here, or something." />
<property name="contact" value="xxxxxxxxxxxxxxxxxxxxxxxxx" />
<property name="license" value="Apache 2.0 License" />
<property name="licenseUrl"
value="http://www.apache.org/licenses/LICENSE-2.0.html" />
<property name="scan" value="true" />
</bean>http://localhost:8081/jaxrs-service/swagger.json to see if you get the definition.--
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/d/optout.
http://localhost:8081/jaxrs-service/swagger.jsonIt still shows the 404 error mentioned above...
As far as the resourcePackage, I will try that later and post here how that goes.I think the UI-thing will be put on hold for now since I am more suited with the 1.2 multiple JSONs rather than 2.0's single.--
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/d/optout.
Hello, sorry for the late response. I have tried the comma-separated package input but it doesn't detect it. Tried with '', " also with "," as separators, both failed to display anything. What is it that I'm missing?Should I have each and every method annotated in the second package for it to work?
--
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/d/optout.