Open csimmons0 opened 6 years ago
@wing328 is there any fixing on swift3 and swift 4?
@RyanLii Thanks for tagging me but I'm no longer involved in this project. I hope others will be able to help you out. Good luck.
(To be clear, I didn't work on the Swagger Codegen 3.x branch/release. My previous involvement was only with 2.x branches/releases)
I had the same issue, but actually those fields are configurable. First you need to create a configuration file in json like:
And then you set the path to the configuration file swagger-codegen generate ... -c path/to/configuration-file.json
.
Description
The Podspec file in a generated Swift3 or Swift4 client lacks summary and homepage variables, which causes "pod install" to fail.
Swagger-codegen version
2.3.1
Command line used for generation
swagger-codegen generate -i ~/Downloads/swagger-yaml-client-generated/swagger.yaml -l swift4 -o ./server-sdk
Steps to reproduce
Generate a swift3 or swift4 client. Attempt to integrate the client into an app via Cocoapods. "Pod install" will fail.
Related issues/PRs
This is the same issue as #3844 but for Swift3/Swift4.
Suggest a fix/enhancement
Probably the same as #3850