Re: Swagger for Spring 3 MVC

2016-08-05 Thread Vishal Thakur
Thanks Ron for the response. One more query, is there any support for Spring 3 core (*non- mvc*) as you mentioned it doesnot support Spring 3 MVC ? On Friday, July 29, 2016 at 11:09:01 PM UTC+5:30, Ron wrote: > > swagger-core doesn’t support Spring MVC. > > Not sure if Springfox supports Spring

Re: Editing field names in Swagger UI

2016-08-05 Thread Andrew Campbell
In that case I think the sweet spot is for me to provide a file with a known checksum and hard code that into the swagger; that will work well enough for our current purposes. At some point in the future I might hack Swagger UI to see if I can make a field name editable. > > -- You received th

Re: Multiple authentications and associated problems

2016-08-05 Thread Andrew Campbell
Just tried grabbing the latest version from Git. Same problem. I've also tried reversing the order of the apiKey and Basic authorizations - again, the same problem. When assembling the curl command, Swagger UI seems to favour the basic authentication. > -- You received this message because yo

Re: Swagger-UI: Just uses OPTION instead of GET/POST/PUT/DELETE

2016-08-05 Thread Tony Tam
I can't help if you don't want to listen. For POST, with CORS, the browser will do a preflight check which is what the options call is. If the headers are wrong, or your server returns the wrong response it will fail. This is server setup, not swagger UI specifically > On Aug 5, 2016, at 10:29

Re: Swagger-UI: Just uses OPTION instead of GET/POST/PUT/DELETE

2016-08-05 Thread Abhishek Goswami
Still i am stuck with same problem, currently i am using these settings Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET, POST, DELETE, PUT, PATCH, OPTIONS" Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept"