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:
> 
> 
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
> 
> Hello,
> 
> I'm trying to utilize @PathVariable binding within my @RequestMapping method 
> while also preserving Swagger UI's capability to input each path variable in 
> a separate input box.
> 
> For example, if I have the above code (pic 1) it produces the above Swagger 
> page (pic 2+3) which is fantastic, but you can see that the Args Object is 
> just a json block (pic 2) when I was hoping it would unwrap into the full 
> args as in (pic 3).
> 
> Is there any configuration value I can set up or annotation I can use to mark 
> the behavior I'd like? Or even any thoughts on how to extend Swagger to do so?
> 
> Thank you so much for your time,
> Kevin
> 
> 
> 
> 
> -- 
> 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 swagger-swaggersocket+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


@PathVariable binding and Swagger

2017-01-12 Thread ksm2962



 

 




Hello,

I'm trying to utilize @PathVariable binding within my @RequestMapping 
method while also preserving Swagger UI's capability to input each path 
variable in a separate input box.

For example, if I have the above code (pic 1) it produces the above Swagger 
page (pic 2+3) which is fantastic, but you can see that the Args Object is 
just a json block (pic 2) when I was hoping it would unwrap into the full 
args as in (pic 3).

Is there any configuration value I can set up or annotation I can use to 
mark the behavior I'd like? Or even any thoughts on how to extend Swagger 
to do so?

Thank you so much for your time,
Kevin




-- 
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.