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: Change REST controller link name from auto-generated

2016-09-06 Thread Dilip Krishnan
Assuming you're using springfox you could alter the names by adding tags to you `@ApiOperation` On Thursday, September 1, 2016 at 10:18:42 AM UTC-5, Ilya Zinkevich wrote: > > Hi all, > > By default, SwaggerUI in java generates such names for Spring controller > classes: > AaaaController.java -

Re: swagger-jersey-jaxrs genereates duplicate operationIds when using inheritance

2016-09-06 Thread tony tam
You can use the “nickname” attribute in the @ApiOperation annotation, see here: https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-annotations/src/main/java/io/swagger/annotations/ApiOperation.java

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

Re: refs in get parameters not allow

2016-09-06 Thread tony tam
Hi, they should not work, because it’s not supported by the Swagger / OpenAPI Specification. Thus the tooling does not support it. > On Sep 6, 2016, at 6:24 AM, Peppe wrote: > > Hello, I'm trying to get this code working but I get a invalid parameter > definition error. Is

refs in get parameters not allow

2016-09-06 Thread Peppe
Hello, I'm trying to get this code working but I get a invalid parameter definition error. Is it possible to link a complex object inside an array of the get parameters?? Here is the code I'm using: Thank you!! swagger: '2.0' info: version: 0.0.0 title: Simple API paths: /: get:

Re: New Swagger libraries for Clojure

2016-09-06 Thread wing328
You will need to submit a PR, similar to this one: https://github.com/swagger-api/swagger.io/pull/124 William Oliver Hine於 2016年9月2日星期五 UTC+8上午12時18分25秒寫道: > > Hi all, > > I thought I'd let you all know about a couple of libraries I've been > working on in Clojure. > > *pedestal-api* > A

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