Commit Graph

126 Commits

Author SHA1 Message Date
Vladimir Shefer 321e4021be Format response type in Swift
Now not only the class name could be the response type, but also array type. So `-> Single<A[]>` should be formated as -> Single<[A]>
2020-07-16 15:39:23 +03:00
Victor Shabanov 15a7ce9ed4 Fix protocol method declaration for swift module 2019-10-17 15:40:59 +03:00
Victor Shabanov b47d064fe9 Add public visibility for swift module 2019-10-17 15:19:04 +03:00
Ivan Babkin 714d68f4c4 Fix date field name 2019-09-09 16:43:41 +03:00
Ivan Babkin c2c853206f Finish dateFormats support 2019-09-09 16:40:04 +03:00
Ivan Babkin f6fc7c3dce Ignore dateFormat if dateFormats exists 2019-09-09 14:34:33 +03:00
Ivan Babkin 3e196020d9 Update swift date templates 2019-08-01 16:33:19 +03:00
Ivan Babkin 5032239132 Fixed copyWithout method and decimal encoding 2019-05-21 15:28:54 +03:00
Ivan Babkin 41fcf554fa Fixed date initialization from decoder 2019-05-20 13:16:19 +03:00
Ivan Babkin 59c2cb0ba0 Fixed error description for color decoding 2019-05-20 13:09:03 +03:00
Ivan Babkin 0916108075 Refactoring 2019-05-17 19:19:44 +03:00
Ivan Babkin 9b7643d087 Refactoring 2019-05-17 13:18:11 +03:00
Ivan Babkin dd0e0165e4 Fixed ApiNumberFormattingService bugs 2019-05-16 14:11:31 +03:00
Ivan Babkin e023fed90a Fixed NumberFormattingService, bugfix 2019-05-16 13:18:56 +03:00
Ivan Babkin 649089d79e Added ApiNumberFormattingService template, fixed complex field decoding 2019-04-29 17:11:12 +03:00
Ivan Babkin 0f8e26f39b Fixed indents 2019-04-26 16:27:47 +03:00
Ivan Babkin 7624fa7e27 Removed not optional fields from copyWithout and refactoring 2019-04-26 15:42:27 +03:00
Ivan Babkin 157799147c Refactoring 2019-04-26 13:22:30 +03:00
Ivan Babkin 7e67644c9f Added new field types 2019-04-25 22:12:08 +03:00
Ivan Babkin 8bf0208187 Added additionalValidStatusCodes parameter to method calling 2019-04-23 17:35:56 +03:00
Ivan Babkin fb309f5955 Added additional valid status codes parameter to request methods 2019-04-23 12:13:47 +03:00
Artur 03fba9bde1 Extension fixed 2019-04-12 14:47:01 +03:00
Artur 7779e0389a Protocol name was deleted and replaced with networkServiceName 2019-04-11 18:54:26 +03:00
Pavel Lukandiy 4d5dc00d95 Lines removed 2019-03-07 19:54:37 +03:00
Pavel Lukandiy d9c70d45f2 Swift generics fix 2019-03-07 18:12:39 +03:00
Artur Azarau 3ab64ec7a9 "parameters" in protocol function apiRequest were renamed to "parametersSingle" 2019-01-30 17:15:31 +03:00
Artur Azarau 8ad8a3d4fd "parameters" in apiRequest were renamed to "parametersSingle" 2019-01-30 17:13:01 +03:00
Artur Azarau 5da7e8d448 api request fixed 2019-01-30 17:06:32 +03:00
Artur Azarau 63383938db deferredApiRequestParameters fixed 2019-01-30 17:03:19 +03:00
Artur Azarau ad97e4e110 fixes 2019-01-30 16:34:11 +03:00
Artur Azarau e7800f2f43 network requests were made deferred 2019-01-30 15:21:00 +03:00
Artur Azarau f999e87688 work in progress 2019-01-30 13:25:46 +03:00
Anton Popkov 36056b8d34 Network service lazy request generation 2018-12-26 16:12:52 +03:00
Madhas ae58fc94e2 formatting 2018-12-20 17:52:03 +03:00
Madhas 0f8d1fc275 fix 2018-12-20 17:43:46 +03:00
Madhas 3e4da17a83 fix 2018-12-20 16:47:21 +03:00
Madhas 254516312a method declaration 2018-12-20 16:19:03 +03:00
Madhas cd8c08e29b fix 2018-12-20 16:04:46 +03:00
Madhas 6ad74c3e00 remove default arguments 2018-12-20 15:53:10 +03:00
Madhas 0c9cd2b9f7 add generated network protocol
generate methods in extension of the protocol
2018-12-20 14:44:11 +03:00
Ivan Smolin d3f96b0e45 use Swift 4.2 CaseIterable. escape "operator" keyword 2018-11-30 20:00:50 +03:00
Ivan Smolin 81163c14b3 add copyWithout method to classes 2018-10-30 15:37:32 +03:00
Alexey Gerasimov a9c033605e Optional or nullable encoding fixed 2018-10-16 14:44:49 +03:00
Ivan Smolin bdeb5c8509 remove whitespaces 2018-10-16 13:20:48 +03:00
Anton Popkov 1f35019eff Optional date fix 2018-10-16 12:54:39 +03:00
Ivan Smolin 65674ad1bb fix swift optional date encoding 2018-08-24 13:55:58 +03:00
Ivan Smolin 48a3f01606 SwiftDate 5.0 migration part 2 2018-07-31 13:26:44 +03:00
Ivan Smolin dadfebb4c1 update for SwiftDate 5.0 2018-07-30 19:14:19 +03:00
Madhas bd1e64caa1 fix optional decoding 2018-06-05 18:59:38 +03:00
Igor Kislyuk b86ace9a01 Fix if else 2018-05-29 15:31:54 +03:00