yonaskolb / SwagGen

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

Make typeAliases settable with --option #189

Closed VyrCossont closed 4 years ago

VyrCossont commented 5 years ago

For example, --option "typeAliases.ID:String" changes the type alias of ID to String (from UUID). This means the user doesn't need to create a new template to change this option.

Also cleans up a SwiftCLI formatting issue that was fixed with jakeheis/SwiftCLI#58.

yonaskolb commented 4 years ago

Merging this and will make changes on master