I can’t say. Springfox is a community project and not one that we can support. 
Better refer to their document and file a ticket on the project if needed.

 

 

 

From: <[email protected]> on behalf of Faisal Khan 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Tuesday, 4 April 2017 at 1:20
To: "[email protected]" 
<[email protected]>
Subject: Re: Swagger Returns Empty API list.

 

 

But it should still work with all the correct configuration, right?

So can you please help me get it up and running.

 

Thanks,

Faisal.

 

On Thu, Mar 30, 2017 at 8:38 PM, Ron Ratovsky <[email protected]> wrote:

You’re using an ancient version of a product. Google for Springfox and start 
using that instead.

 

 

 

From: <[email protected]> on behalf of 
"[email protected]" <[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Thursday, 30 March 2017 at 8:04
To: Swagger <[email protected]>
Subject: Swagger Returns Empty API list.

 

I am trying to integrate swagger with my Spring 4.1.9 project. Have added 
dependency: 

<groupId>com.mangofactory</groupId> 
<artifactId>swagger-springmvc</artifactId>
<version>1.0.0</version>
 
Created a bean which does: 
 
private SpringSwaggerConfig springSwaggerConfig;

@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
    this.springSwaggerConfig = springSwaggerConfig;
}

@Bean
public SwaggerSpringMvcPlugin customImplementation()
{
    return new 
SwaggerSpringMvcPlugin(this.springSwaggerConfig).apiInfo(apiInfo())
            .includePatterns("api/path*");
}

private ApiInfo apiInfo() {
    ApiInfo apiInfo = new ApiInfo("Swagger",
            "APIs for Swagger",
            "http://google.com";, "[email protected]",
            "Private, Confidential", "");
    return apiInfo;
}
 
Have added Api documentation to a few endpoints and trying to access 
localhost:8080/api-docs
getting this:
<apiVersion>1.0</apiVersion>
<swaggerVersion>1.2</swaggerVersion>
<apis/>
<authorizations/>
 
APIs came as empty, can someone help me?
 
Thanks.
 
-- 
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.

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Swagger" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/swagger-swaggersocket/qZF-eULhy_8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
For more options, visit https://groups.google.com/d/optout.

 

-- 
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.


-- 
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