Can't get json from Swagger (swagger-jaxrs)
<p>Actually i am trying to generate swagger.json for my REST services.
i succeeded to do it using jersy, but now we use don't use jersy in our services, we just use Jax-rs, so now i am not able to generate it and got 404 error code.</p>

<p>Here are my pom dependencies</p>

<pre><code>&lt;dependencies&gt;

    &lt;dependency&gt;
        &lt;groupId&gt;io.swagger&lt;/groupId&gt;
        &lt;artifactId&gt;swagger-jaxrs&lt;/artifactId&gt;
        &lt;version&gt;1.5.6&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.ws.rs&lt;/groupId&gt;
        &lt;artifactId&gt;jsr311-api&lt;/artifactId&gt;
        &lt;version&gt;1.1.1&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
        &lt;version&gt;2.5&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.mockito&lt;/groupId&gt;
        &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
        &lt;version&gt;1.9.5&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.reflections&lt;/groupId&gt;
        &lt;artifactId&gt;reflections&lt;/artifactId&gt;
        &lt;version&gt;0.9.10&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;commons-io&lt;/groupId&gt;
        &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
        &lt;version&gt;2.4&lt;/version&gt;
    &lt;/dependency&gt;

&lt;/dependencies&gt;
</code></pre>

<p>and this is my app config application</p>

<pre><code>import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import com.skios.endpoint.EmployeeEndpoint;
import com.skios.endpoint.ShopsEndpoint;

import io.swagger.jaxrs.config.BeanConfig;
import io.swagger.jaxrs.listing.ApiListingResource;
import io.swagger.jaxrs.listing.SwaggerSerializers;

@ApplicationPath("api")
public class AppConfiguration extends Application {

public AppConfiguration() {
    BeanConfig beanConfig = new BeanConfig();
    beanConfig.setVersion("1.0.2");
    beanConfig.setSchemes(new String[] { "http" });
    beanConfig.setHost("localhost:7070");
    beanConfig.setBasePath("app");
    beanConfig.setResourcePackage("com.skios.endpoint");
    beanConfig.setScan(true);
}

@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public Set&lt;Class&lt;?&gt;&gt; getClasses() {

    Set&lt;Class&lt;?&gt;&gt; resources = new HashSet();
    resources.add(ShopsEndpoint.class);
    resources.add(EmployeeEndpoint.class);
    // ...
    resources.add(ApiListingResource.class);
    resources.add(SwaggerSerializers.class);
    return resources;
}
}
</code></pre>

<p>and these are my end points</p>

<pre><code>@Api(value = "/employees", description = "Endpoint for employee listing")
@Path("/employees")
public class EmployeeEndpoint {}

@Path("/shops")
@Api(value="/shops", description="Shops")
public class ShopsEndpoint {}
</code></pre>

<p>andnow when i am trying to enter the path of swagger.json file</p>

<pre><code>http://localhost:7070/MavenSwaggerTest/api/swagger.json

i got 404 error code.
</code></pre>

<p>so what is the problem? can any one help me? 
thanks</p>