I use swagger UI annotations 1.5.9

io.swagger <https://mvnrepository.com/artifact/io.swagger> ยป 
swagger-annotations

On Wednesday, July 20, 2016 at 12:28:47 AM UTC+3, Ron wrote:
>
> Which tool do you use to generate the spec? Which version?
>
>  
>
>  
>
>  
>
>  
>
> *From: *<swagger-sw...@googlegroups.com <javascript:>> on behalf of "
> assaf.k...@teamaol.com <javascript:>" <assaf.k...@teamaol.com 
> <javascript:>>
> *Reply-To: *"swagger-sw...@googlegroups.com <javascript:>" <
> swagger-sw...@googlegroups.com <javascript:>>
> *Date: *Tuesday, 19 July 2016 at 11:16
> *To: *Swagger <swagger-sw...@googlegroups.com <javascript:>>
> *Subject: *Mongo ObjectId in swagger api-docs url
>
>  
>
> Hello All 
>
> One of the fields in my DTO object is Mongo ID ObjectID
>
> problem is that api-docs url renders it as following
>
>  "companyId": {
>
>     "counter": 0,
>
>     "date": "2016-07-19T18:14:15.953Z",
>
>     "machineIdentifier": 0,
>
>     "processIdentifier": 0,
>
>     "time": 0,
>
>     "timeSecond": 0,
>
>     "timestamp": 0
>
>   }
>
>  
>
> Why the actual output for the same object is as follows : "companyId": 
> "54c64814e4b0239071c154a1",
>
>  
>
> How can i match the schema to be present as a simple hash string key
>
>  
>
> Thanks
>
> -- 
> 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 <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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to