SwagGen icon indicating copy to clipboard operation
SwagGen copied to clipboard

Swift template - handle models and request with the same name

Open yonaskolb opened this issue 8 years ago • 1 comments
trafficstars

At the moment the Swift compiler can complain if 2 files have the same filename, which can happen if a model name and operationId are the same, for example a model called Purchase.swift and a request called Purchase.swift

yonaskolb avatar Aug 31 '17 13:08 yonaskolb

Renaming models from https://github.com/yonaskolb/SwagGen/issues/90 can resolve this

yonaskolb avatar Jul 13 '18 01:07 yonaskolb