Re: Creating swagger documentation using UI Editor

2017-03-22 Thread caldercarey via Swagger
On Thu, 3/23/17, caldercarey via Swagger wrote: Subject: Re: Creating swagger documentation using UI Editor To: swagger-swaggersocket@googlegroups.com Date: Thursday, March 23, 2017, 1:42 AM On Th

how to configure api key (codegen / python)

2017-03-22 Thread John Hogenmiller
I can't find a clear example of what to put into the configuration dict for api_key. I essentially need the client to send a header "Authorization: " Here is my current code with workaround and some attempts at doing the configuration method. from __future__ import print_function import swagge

swagger-codegen default_api.py has wrong name

2017-03-22 Thread John Hogenmiller
I have macOS sierra and swagger-codegen installed via homebrew. Version 2.2.2 I didn't know if I should report this here or on github issues. Since I'm exceedingly new to swagger, I'll start with assuming it's on my end. When I run swagger-codegen, it does not generate swagger_client/api/defa

Re: Creating swagger documentation using UI Editor

2017-03-22 Thread caldercarey via Swagger
On Thu, 3/23/17, Luke Haviland wrote: Subject: Re: Creating swagger documentation using UI Editor To: "Swagger" Date: Thursday, March 23, 2017, 12:37 AM That's how I've been doing it. You can place the yaml/json file anywere, it doesn't NEED

Re: Creating swagger documentation using UI Editor

2017-03-22 Thread Luke Haviland
That's how I've been doing it. You can place the yaml/json file anywere, it doesn't NEED to be in the same directory - As long as you link to it in the index.html code. On Friday, March 17, 2017 at 3:06:05 AM UTC-7, Anu krishnan wrote: > > hi, > im new to swagger and i created a yaml file using

Re: no dist directory install anymore?

2017-03-22 Thread Feorlen
On Wednesday, March 22, 2017 at 11:00:02 AM UTC-7, Ron wrote: > > That’s a good point, we need to update the documentation in swagger.io – > apologies for the confusion. > > I meant the README in the repo. > > > > You’d have to slightly modify the index.html file if you want to host it > all

Re: no dist directory install anymore?

2017-03-22 Thread Ron Ratovsky
That’s a good point, we need to update the documentation in swagger.io – apologies for the confusion. I meant the README in the repo. You’d have to slightly modify the index.html file if you want to host it all in one location, changing the relative links to the javascript packages.

Re: no dist directory install anymore?

2017-03-22 Thread Feorlen
I'm not sure which readme you mean, something other than the one in the repo? Also, the docs at swagger.io/docs still say copy the dist dir. I'm trying to figure out if I can run Swagger UI by copying some files to my server, or if I have to do it differently now. Thanks! On Wednesday, March

Re: no dist directory install anymore?

2017-03-22 Thread Ron Ratovsky
Check the README of the project. The index.html that needs to be executed is the one under the /public directory and not the one under /dist. From: on behalf of Feorlen Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, 22 March 2017 at 10:19 To: Swagger Subject: n

no dist directory install anymore?

2017-03-22 Thread Feorlen
I don't see anything about installing by copying the dist directory in the current readme. I tried replacing my 2.2.10 dist dir with the current version and it doesn't work. Is this no longer possible? There isn't anything mentioned in the FAQ. -- You received this message because you are subs

Re: custom datatype in request body for POST method

2017-03-22 Thread tony tam
You’ll need to share some more details. Post some code for best feedback. > On Mar 22, 2017, at 7:46 AM, subbu mani wrote: > > In Swagger 2 , we are facing below issue : > > We are having a POST method, which uses query string while submitting the > request. Since it is a security issue , we

custom datatype in request body for POST method

2017-03-22 Thread subbu mani
In Swagger 2 , we are facing below issue : We are having a POST method, which uses query string while submitting the request. Since it is a security issue , we have used @ApiImplicitParam annotation since it is supporting 'body' attribute. This works only for the primitive data types and does

How to describe each field form from request class object

2017-03-22 Thread 419456787

Re: Examplebuilder usage in Swagger documents

2017-03-22 Thread vijay kumar
Hi Shreejit, I have followed this thread and the code works fine but when i generated object i get teh value as below.Can you tell me how to create the datastructure from it. { "name" : "createFoldersRequest", "attribute" : false, "wrapped" : false, "typeName" : "object", "values" : {