Q: how to extend Obj-C models created with swagger-codegen

10 views
Skip to first unread message

Valerio Santinelli

unread,
Nov 14, 2018, 4:50:59 AM11/14/18
to Swagger
I have used swagger-codegen to generate the client for my API. I need to extend some of the models because I need to make some properties transform to nil when serializing to JSON and some other properties (some dates) to follow a different date format than the default. Is that achievable without modifying the actual models generated by swagger so that I can regenerate them as needed and avoid losing my changes?

Cheers!

Valerio
Reply all
Reply to author
Forward
0 new messages