Thanks a lot for your update

quarta-feira, 16 de Novembro de 2016 às 16:03:56 UTC, Ron escreveu:
>
> Swagger-ui doesn’t render maps at the moment.
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of Mauro 
> Roberto <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Wednesday, 16 November 2016 at 3:25
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Swagger UI - hashmap not rendering in response model
>
>  
>
> I am using springfox version 2.5.0 with swagger annotations 1.5.0
>
>  
>
> In my class  I have defined the field:
>
>  
>
> *private HashMap<String, Device> devices;*
>
>  
>
> In the swagger-ui response model it get rendered with brackets 
>
>  
>
> *"devices": {}*
>
>  
>
> Can anyone point me what needs to be done in order get the hashmap 
>  rendered as part of the  swagger-ui response model ?
>
>  
>
> Thanks in advance
>
> -- 
> 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 [email protected] <javascript:>.
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to