Commit Graph

48 Commits

Author SHA1 Message Date
Joseph Zuromski
9bdf7c4bbb move back to alamofire 3.1.5 because alamofire 3.2.x and up cause issues speaking to the petstore service - has to do w/ Accept/content type changes 2016-05-18 09:48:12 -07:00
Joseph Zuromski
98385aa746 checkpoint updating pod dependencies/moving to cocoapods1.0 2016-05-18 08:51:29 -07:00
wing328
1d6eef715c update swift petstore sample 2016-05-15 01:35:01 +08:00
wing328
610af20712 update swift sample 2016-05-13 16:40:01 +08:00
Christophe Jolif
524ced1d9b Fix regression on swift enum name as well as make sure enum var name with colons ouput compiable swift. Add a test. fixes #2824, fixes #2835 2016-05-12 11:57:43 +02:00
wing328
982a035cc1 add better enum support to swift 2016-05-03 18:12:35 +08:00
wing328
1178d31d1f update petstore sample 2016-04-20 15:57:18 +08:00
wing328
4f84c7d3bc Merge pull request #2583 from cjolif/nilasdefault
make sure user is not forced to pass nil for optional parameters
2016-04-14 19:23:24 +08:00
Joseph Zuromski
86a7637010 [Swift] minor spacing cleanup in Models.mustache 2016-04-13 23:36:16 -07:00
Christophe Jolif
fca0d0f0f7 make sure user is not forced to pass nil for optional parameters 2016-04-13 11:14:48 +02:00
wing328
68cb030609 add new files for format test model 2016-04-11 22:11:53 +08:00
wing328
44a4219e3e fix swift mapping with int and number 2016-04-11 19:37:56 +08:00
Christophe Jolif
fb56e11470 Make sure body params of type Int32/Int64 are correctly encoded for that create JSONEncodable extensions for Int32/Int64. Re-use extensions in Model.encodeToJSON to simplify code. 2016-03-22 22:23:47 +01:00
Christophe Jolif
677890fc08 Generates Int32/Int64 for Swift when those are the required formats. Fixes #2133. 2016-03-19 13:03:33 +01:00
wing328
9525d67cd8 use basename for swift model property 2016-03-18 12:02:26 +08:00
wing328
05a8c47a36 update docstring to include default value 2016-03-17 17:43:21 +08:00
wing328
47bb5689d9 better hanlding of model name starting with number 2016-03-17 11:49:06 +08:00
wing328
a529d9dfe0 push new git_push and .gitinore file 2016-03-12 18:01:53 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
wing328
8cf0fcf7c4 update objc and swift petstore sample 2016-03-04 15:59:13 +08:00
wing328
057e1d4c4b proper indention for swift generator 2016-03-02 15:46:24 +08:00
Thomas Gilbert
dea699f1ef Update petstore swift client 2016-03-02 08:14:37 +01:00
hideya kawahara
9ee154c13a Make {{projectName}}API namespace for API classes optional 2016-02-27 19:38:12 +09:00
hideya kawahara
ac3ab477d3 Update Swift API method generation for ease of use 2016-02-26 09:21:30 +09:00
hideya kawahara
a13bba5dc5 Use fixed date/time in operation.examples to avoid unnecessary diffs 2016-02-25 11:20:30 +09:00
wing328
2fcbc38b67 fix objc binary mapping, add objc,swift to CI tests 2016-02-13 16:29:35 +08:00
Joseph Zuromski
694d735edc [Swift] fix issue 1994: make sure we don't crash if rawValue returns nil when trying to create an enumeration - instead return nil which allows the instance variable to be nil in this case (it will still try to unwrap the optional though if you declare the enumeration as a required property)
note: there aren't really any tests I can add to validate this since the service is always returning valid enumerations. but I did update the sample code.
2016-02-09 12:59:14 -08:00
Joseph Zuromski
cf7fc1a61b make SwaggerClient a shared scheme 2016-02-09 08:30:27 -08:00
Joseph Zuromski
d84953d504 add in more tests 2016-02-08 15:22:32 -08:00
Joseph Zuromski
2465f398da add a couple more user tests 2016-02-08 14:43:08 -08:00
Joseph Zuromski
fff0951771 add in some real tests 2016-02-08 14:23:22 -08:00
Joseph Zuromski
288acdb2d4 one more gitignore to keep git clean after build 2016-02-08 13:04:18 -08:00
Joseph Zuromski
7c4983df16 fixup gitignore/schemes 2016-02-08 12:59:35 -08:00
Joseph Zuromski
4a0c7966a1 add in pods 2016-02-08 12:56:49 -08:00
Joseph Zuromski
bc0658e81c add in initial swift client tests 2016-02-08 12:51:14 -08:00
Joseph Zuromski
a4a1372fc1 update swift samples 2016-02-07 05:59:23 -08:00
wing328
5638027179 remove downloadImage from petstore.json 2015-12-26 16:15:58 +08:00
wing328
6124062a70 update promisekit and alamofire to the latest version 2015-12-26 16:12:56 +08:00
Tomek Cejner
5a1c6e6c17 Updated samples, and cartfile 2015-12-16 21:55:31 +01:00
Cristian Oneț
f8db16c5cd Fix typo in swift error variable name. 2015-11-12 17:10:10 +02:00
Cristian Oneț
d125b9c490 Update swift petstore client. 2015-11-11 14:21:52 +02:00
Tony Tam
b41a40f9be rebuilt 2015-10-20 10:28:49 -07:00
wing328
90b89c6189 fix typescript basepath 2015-09-05 16:48:00 +08:00
kubo_takaichi
91af76cf41 Use CLI option 2015-06-27 23:24:49 +09:00
kubo_takaichi
9e47042122 Update models 2015-06-23 12:20:00 +09:00
kubo_takaichi
ff88f7175d Update models 2015-06-23 12:20:00 +09:00
kubo_takaichi
495e528eec Add generated code 2015-06-23 12:20:00 +09:00
kubo_takaichi
23d714f2f1 Add swift code generator 2015-05-20 11:27:45 +09:00