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

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"

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

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

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

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:

$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

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