Re: Replacing string parameter by an object in swagger documentation

2016-10-05 Thread Ron Ratovsky
-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, 5 October 2016 at 18:34 To: Swagger Subject: Re: Replacing string parameter by an object in swagger documentation Thanks Ron! But how do I set the @ApiParam as hidden? I have not found anything in the javadoc/doc

Re: Replacing string parameter by an object in swagger documentation

2016-10-05 Thread Flo4it
ibing what you want. > > > > > > > > *From: *> on behalf of > Flo4it > > *Reply-To: *"swagger-sw...@googlegroups.com " < > swagger-sw...@googlegroups.com > > *Date: *Wednesday, 5 October 2016 at 10:11 > *To: *Swagger > > *Subject: *Re

Re: Replacing string parameter by an object in swagger documentation

2016-10-05 Thread Ron Ratovsky
You’d need to set the @ApiParam as hidden, and add an @ApiImplicitParam describing what you want. From: on behalf of Flo4it Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, 5 October 2016 at 10:11 To: Swagger Subject: Replacing string parameter by an

Replacing string parameter by an object in swagger documentation

2016-10-05 Thread Flo4it
Hi guys, I have a simple REST interface method like: @POST @Path("values") @Consumes("application/json") @ApiOperation(value = "Updates/inserts given key-value pairs.") public Response setStuff(@ApiParam(value = "MyJsonObjectAsString") final String json) { //do stuff } Is it possible to use