How to test the API using swagger

2017-12-06 Thread Neha
I uploaded my swagger specification in swagger editor, it shows me the documentation of the API. Now I want to test my API so I downloaded the client server in python. After downloading the server it contain the readme file which show how to test the API with small example code. But when I am

Re: Setup host and basePath dynamically

2017-12-06 Thread Ron Ratovsky
The browser’s web console. From: on behalf of O haya Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, December 6, 2017 at 09:32 To: Swagger

Re: Setup host and basePath dynamically

2017-12-06 Thread O haya
Hi, I am sorry to post on an older thread, but in the github linked page, what is "in the console" referring to? What console is it? Thanks, Jim On Friday, May 5, 2017 at 10:09:15 AM UTC-4, Hareeqi M wrote: > > > > I just created this for swagger ui 3.x i hope it works for you > >

Beginner API/Swagger help. C# Rest client generated from online tool.

2017-12-06 Thread Ben Moulton
Hey, Have a set of API already finished api controllers in our main project, I was asked to use Swagger to generate the description of the API, by going to (website).com/swagger/docs/v1 ect. Then put it through the swagger online tool to generate a c# rest client which seemed to work fine.

New to API's and Swagger. Basic help.Thanks!

2017-12-06 Thread Ben Moulton
Hey, So just got pushed onto an API issue at work. Someone who no longer works at the company, built some API controllers for our project. I was asked to use Swagger to generate the description of the api, by going to (website).com/swagger/docs/v1 ect. Then put it through the swagger online

Re: Is there a way to do OAuth2 implicit flow in latest release of Swagger UI?

2017-12-06 Thread Nicolae Marasoiu
Hi, with the latest releases (Swagger 1.5.17, Swagger UI 3.6.0 and swagger-akka-http 0.11.2 in my case we use this integration with AkkaHTTP), And configuring the swagger something like: @SwaggerDefinition(... securityDefinition = new SecurityDefinition(oAuth2Definitions = Array(new

Swagger UI not sending Authorization header

2017-12-06 Thread Nicolae Marasoiu
Hi, The authorization button and Authorize button work ok, I see the accessToken being populated on the redirect callback URI (but not stored in local storage) and I get the screen with Logout, so it seems to me that the configured OAuth2 implicit flow worked (except that I do not see the token