Open zummenix opened 5 years ago
Currently APIClient has the default static property which creates the instance of the class with a base url and default parameters: https://github.com/yonaskolb/SwagGen/blob/57fc0074f30a40a6a611520b6a550c23ac3003af/Templates/Swift/Sources/APIClient.swift#L6-L10 In our usecase, because urls will be different, it will be somewhat confusing and error prone to have it. I would want to add an option to exclude and not generate this property. What do you think?
APIClient
default
Currently
APIClient
has thedefault
static property which creates the instance of the class with a base url and default parameters: https://github.com/yonaskolb/SwagGen/blob/57fc0074f30a40a6a611520b6a550c23ac3003af/Templates/Swift/Sources/APIClient.swift#L6-L10 In our usecase, because urls will be different, it will be somewhat confusing and error prone to have it. I would want to add an option to exclude and not generate this property. What do you think?