yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator
MIT License
626 stars 146 forks source link

Add support for overriding property names #196

Closed mackoj closed 4 years ago

mackoj commented 4 years ago

This feature is analog to modelNames and enumNames but for property. I have a case where some property have the name id and it conflict.

This feature enable me to define proterty that are called id as _id.

yonaskolb commented 4 years ago

Would love to have some unit tests for all these options at some point