wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
wing328
70ed52cee0
add default value to swift podspec
2016-09-22 18:41:53 +08:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
Ryan Martin
c1f3c51427
[Swift] Include HTTP status code and body data in response errors
...
This is useful when differentiating different error responses. Example:
if let e = error {
switch e {
case ErrorResponse.Error(400, _, _): responseLabel.text = "Unknown error"
case ErrorResponse.Error(403, _, _): responseLabel.text = "Not logged in"
default: responseLabel.text = "\(e)"
}
}
The existing error is straight from Alamofire and only includes the HTTP
status code in the body of the message (not broken out as a separate value).
It also does not include the response body, which may be useful.
2016-08-22 12:30:03 -04:00
wing328
3c1e47c31d
Merge branch 'feature/jack/update-swift-alamofire' of https://github.com/JackWink/swagger-codegen into JackWink-feature/jack/update-swift-alamofire
2016-08-12 08:59:12 +08:00
wing328
148a842f3b
fix #2538 ( #3535 )
2016-08-05 18:09:00 +08:00
Jack Wink
be6c661fa0
[Swift] Update samples to use latest Alamofire
...
In order to run the integration tests, we needed to generate updated
clients.
2016-07-30 12:19:06 -07:00
Jason Gavris
9e6896c8f0
[Swift] Fix pod authors in podspec
2016-07-19 10:37:20 -04:00
Jason Gavris
693c73171e
[Swift] Use ISO-8601 date format
...
- Also fix up Enum parameter generation for formParams by extracting _param partial
2016-07-01 09:55:32 -04:00
wing328
8c754d234d
fix npe for swift due to array of enum
2016-07-01 16:58:18 +08:00
Joseph Zuromski
00c4877baf
move swift samples into swift/default and swift/promisekit directories
2016-05-23 20:08:00 -07:00