Swagger-servlet module POST type issue

2016-10-04 Thread avinash . upadhya28
Hi, I am integrating swagger-servlet to my APIs. In one the POST api i have two input parameters and rest of the data i am passing from POST body. So i used something like below annotations @ApiOperation( value="MyApi", notes="MyOrder", response=Model.class, httpMethod="POST",

Same resource path

2016-09-06 Thread avinash . upadhya28
Is there any way i can have document two method with same name but with different input parameter? I am having a situation where i need to document the resources which all are hosted on a same path (kind of micro services in MyProjects/get?Parameters) but each micro-service has a same name but

Re: Customize swagger paths

2016-09-06 Thread avinash . upadhya28
In Short in My api/servlet there are several micro-services.. I wanted to document these services. Please let me know any suggestions On Tuesday, 6 September 2016 13:13:27 UTC+5:30, avinash@gmail.com wrote: > > Hi Folks, > > I have a servlet which redirects to a appropriate REST resource

Customize swagger paths

2016-09-06 Thread avinash . upadhya28
Hi Folks, I have a servlet which redirects to a appropriate REST resource based on input parameter. So i have annotated all my resource methods with @ApiOperation. But its taking the method name for creating the Resource path.I wanted it to take the Servlet path as the resource path. Can any

Re: @ApiImplicitParam for Collection objects.

2016-09-04 Thread avinash . upadhya28
Anyone tried this before? Please suggest me on this. Regards, *Avinash Upadhya* On Saturday, 3 September 2016 22:26:44 UTC+5:30, avinash@gmail.com wrote: > > I have tried with like this > > @ApiImplicitParam(name="myValues", value="Validation Values Map", required = > true,

Re: @ApiImplicitParam for Collection objects.

2016-09-03 Thread avinash . upadhya28
I have tried with like this @ApiImplicitParam(name="myValues", value="Validation Values Map", required = true, dataType = "Map", paramType = "query") But no luck. On Saturday, 3 September 2016 22:02:15 UTC+5:30, avinash@gmail.com wrote: > > Hi All, > > I have a API which

Re: @ApiImplicitParam for Collection objects.

2016-09-03 Thread avinash . upadhya28
I have tried with like this @ApiImplicitParam(name="valueMapForValidation", value="Validation Values Map", required = true, dataType = "Map", paramType = "query") But no luck. On Saturday, 3 September 2016 22:02:15 UTC+5:30, avinash@gmail.com wrote: > > Hi All, > > I have a

@ApiImplicitParam for Collection objects.

2016-09-03 Thread avinash . upadhya28
Hi All, I have a API which accepts One string, and One MAP as the input. I am wondering how can i capture MAP input in swagger document using @ApiImplicitParams, @ApiImplicitParam annotations. Note: Am using Swagger-servlet Module. Thanks. -- You received this message

Re: Swagger definition generation issue

2016-08-23 Thread avinash . upadhya28
Solved :) Thank you Ron :) On Tuesday, 23 August 2016 00:56:16 UTC+5:30, Ron wrote: > > You’re using an ancient version of swagger-core. Please update to the > latest and try again. > > > > > > > > *From: * on behalf of " > avinash@gmail.com "

Swagger definition generation issue

2016-08-22 Thread avinash . upadhya28
Hi All, I have created a sample service suing servlet, and annotated as per the swagger specification. But when i do http://localhost:8080/MyApp/api it gives me below response. {"apiVersion":"0.0","swaggerVersion":"1.2"} I have seen all previous discussion on this issue in this forum and

Re: Swagger integration with service built using filters

2016-08-20 Thread avinash . upadhya28
Thank you for the response. I tired this. But there is some always some error will be there in my project b'se of dependency. I am not allowed to use only swagger specific jars in ma project. So could you please provide me what are the dependent jars list to integrate swagger. On Saturday, 20