Commit Graph

36 Commits

Author SHA1 Message Date
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