Re: endpoint with parameter as date range

2017-01-13 Thread Rem
All right, thank you! Le vendredi 13 janvier 2017 15:18:18 UTC-5, Ron a écrit : > > Operations in Swagger are a combination of a few details around the > operation itself including the path, parameters, responses and so on. > > Operation paths cannot include query parameters, that is, anything

Re: endpoint with parameter as date range

2017-01-13 Thread Ron Ratovsky
Operations in Swagger are a combination of a few details around the operation itself including the path, parameters, responses and so on. Operation paths cannot include query parameters, that is, anything coming after a ?. To get the effect you’re looking for, you simply need to define the

endpoint with parameter as date range

2017-01-13 Thread Rem
Hello, I am new to swagger and I would like to open and enpoint where the user can request with a date range on the info dateInfo between *StartDate *EndDate What's the state of the art to design this endpoint? I came up with this: infos/startDate={startDate=startDate}={endDate=endDate}

Re: @PathVariable binding and Swagger

2017-01-13 Thread tony tam
Hi Kevin, I’m not positive if there are other tricks with SpringFox, but you can use @ApiImplicitParams as an annotation to your function > On Jan 12, 2017, at 8:53 PM, ksm2...@email.vccs.edu wrote: > > > > >

Re: Optional and variable object properties

2017-01-13 Thread tony tam
Use the required array: http://json-schema.org/example2.html for your example you would say: required: - attributeA - attributeB properties: attributeA: type: string # etc. > On Jan 13, 2017, at 6:53 AM, nicholas.tul...@temboinc.com wrote: > > How

Re: API reorder

2017-01-13 Thread lange.kay via Swagger
On Fri, 1/13/17, lange.kay via Swagger wrote: Subject: Re: API reorder To: swagger-swaggersocket@googlegroups.com Date: Friday, January 13, 2017, 11:50 AM

Re: API reorder

2017-01-13 Thread lange.kay via Swagger
On Fri, 1/13/17, Deepika Vijay wrote: Subject: Re: API reorder To: "Swagger" Date: Friday, January 13, 2017, 10:07 AM Can you please provide example how can it be implemented

Re: API reorder

2017-01-13 Thread Deepika Vijay
Can you please provide example how can it be implemented through tags? On Thursday, 12 January 2017 17:44:24 UTC+5:30, Deepika Vijay wrote: > > hi All, > > i have Swagger api setup but now i need to reorder it. > What all options are available to do so and also i tried with tag but it > doesnt