I don’t know what version of swagger-ui is provided with springfox – we don’t 
maintain that project.

Try checking with the latest swagger-ui release (not the one provided with 
springfox). If it works use that. If not, we can proceed from there.

 

 

 

From: <[email protected]> on behalf of Bojan Gašpar 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Wednesday, 24 August 2016 at 01:42
To: Swagger <[email protected]>
Subject: Re: OAuth2 authorization

 

We use SpringMVC and springfox (io.springfox:springfox-swagger2:jar:2.5.0 and 
io.springfox:springfox-swagger-ui:jar:2.5.0). 

 

I don't see the OAuth2 flow in the documentation (there should be an ON/OFF 
button?). I guess I have to add "securityDefinitions" to the swagger 
configuration, but I don't know where because I'm using annotations in java for 
all my settings.

On Wednesday, August 24, 2016 at 3:12:51 AM UTC+2, Ron wrote: 

It’s unclear if you’re using Spring MVC or other Spring components, and so 
whether you use Springfox or swagger-core.

Have you looked into the generated spec itself to see that the oauth2 flow is 
included there?

Which version of swagger-ui do you use? 

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