Which tool do you use to generate the spec? Which version?
From: <[email protected]> on behalf of "[email protected]" <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Tuesday, 19 July 2016 at 11:16 To: Swagger <[email protected]> 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 [email protected]. 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.
