Enum with keys & value

2017-04-04 Thread Vivek Kumar
Hello Sir, I want to ask you that Is there any method in swagger I can use to show the dropdown with different heading with respective keys. And please tell me how I can use freeform parameter or dynamic key=> value parameter in Post request -- You received this message because you are subscri

Re: Swagger Returns Empty API list.

2017-04-04 Thread Faisal Khan
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 wrote: > You’re using an ancient version of a product. Google for Springfox and > start using that instead. > > > >

All config options available with hapi?

2017-04-04 Thread Starquest
For the demo available at http://editor.swagger.io/ -- are all those options available with hapi? It seems that hapi-swagger provides some, but maybe not all of them. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group a

Re: Enum with keys & value

2017-04-04 Thread Ron Ratovsky
Hi Vivek, For enum values, you can use: type: string enum:   - foo   - baar (this can be any type really) For dynamic keys: type: object additionalProperties:   type: string The type here can also be anything you’d like the value to be, but they keys are dynamic this w

Re: Swagger Returns Empty API list.

2017-04-04 Thread Ron Ratovsky
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: on behalf of Faisal Khan Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Tuesday, 4 April 2017 at 1:20 To: "swagge

Re: All config options available with hapi?

2017-04-04 Thread Ron Ratovsky
The online editor doesn’t offer any configurations at the moment. Not sure if hapi specifically does, would recommend looking at https://github.com/swagger-api/swagger-codegen for more details. From: on behalf of Starquest Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Tu

$ref notation reference

2017-04-04 Thread Bev Young
Can you tell me where to find a reference to "external references", i.e. $ref: '#/definitions/s' ? -- 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 swagger-swaggersoc

Re: $ref notation reference

2017-04-04 Thread Ron Ratovsky
Not sure what you mean. From: on behalf of Bev Young Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Tuesday, 4 April 2017 at 10:38 To: Swagger Subject: $ref notation reference Can you tell me where to find a reference to "external references", i.e. $ref: '#/definitions/s

Swagger2Feature v/s OsgiSwaggerUiResolver

2017-04-04 Thread Pankaj Joshi
Hi, I am working swagger feature 2 with cxf 3.1.0 and swagger 2.2.8. I am not able to see this is working for me. I have "org.osgi.framework.FrameworkUtil" classes added in my project which is not allowing my tomcat to pick swagger-ui library. I have seen few on the blogs says this is known de

Re: Swagger2Feature v/s OsgiSwaggerUiResolver

2017-04-04 Thread Ron Ratovsky
Hi Pankaj – for CXF specific questions, it’d be better to post them in their mailing list. From: on behalf of Pankaj Joshi Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Tuesday, 4 April 2017 at 13:36 To: Swagger Subject: Swagger2Feature v/s OsgiSwaggerUiResolver Hi,

Two element array of mixed type

2017-04-04 Thread Matthew Boston
How do I specify that an endpoint returns an array of two element arrays, one value is a string, one value is a number? Like so: [["foo", 1], ["bar", 2], ["baz", 3]] Thanks! -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this

Re: Two element array of mixed type

2017-04-04 Thread Ron Ratovsky
The most you can do is describe an array of arbitrary values: type: array items:   type: array   items: {} From: on behalf of Matthew Boston Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Tuesday, 4 April 2017 at 16:46 To: Swagger Subject: Two element array of mixed

Re: Header undefined

2017-04-04 Thread Dinesh Babu
could some one on this below example please. provide me the json file similar to the below example. On Tuesday, April 4, 2017 at 7:43:56 AM UTC+5:30, Dinesh Babu wrote: > > I tried with the default example provided by Swagger(PetStore on Heroku). > In order to explore how it works after introduc