Commit Graph

44 Commits

Author SHA1 Message Date
Ivan Smolin 22755ccca3 add Alamofire import 2018-04-11 20:02:09 +03:00
Ivan Smolin 1afb2d304f align 2018-04-11 16:02:27 +03:00
Ivan Smolin a9afe6b562 add api request parameters customization 2018-04-11 15:55:38 +03:00
Ivan Smolin e5e23d81d1 add ImmutableMappable constraint to generic argument. closes https://github.com/TouchInstinct/api-generator/issues/66 2018-04-06 20:19:23 +03:00
Ivan Smolin e5eeec818f add optional encoding 2018-04-06 11:13:08 +03:00
Ivan Smolin cbbcac0ea5 update generation of NetworkService and methods 2018-04-06 11:02:40 +03:00
Ivan Smolin 6af656effd add static versions of methods, add base method for override request 2018-04-04 18:11:46 +03:00
Ivan Smolin 3c2c39afbb remove unused import 2018-04-04 13:35:15 +03:00
Ivan Smolin 3640a5477f fix equtable, date formatting service and methods without body 2018-04-04 13:32:45 +03:00
Ivan Smolin 1bf5694e6b fix singleton and empty date formats 2018-04-02 17:46:11 +03:00
Ivan Smolin 20d619618a private init in one line 2018-03-30 12:32:04 +03:00
Ivan Smolin 90bb88f205 add default init to NetworkService 2018-03-30 12:24:05 +03:00
Ivan Smolin 210c206892 update DateFormattingService 2018-03-29 17:15:38 +03:00
Ivan Smolin 190d605f47 remove shared network service 2018-03-28 20:52:18 +03:00
Ivan Smolin c8bf6fb559 double Decimal 2018-03-28 19:48:47 +03:00
Ivan Smolin 1057c07b84 Equtable models, convenient copy function and static initializer
closes https://github.com/TouchInstinct/api-generator/issues/53
2018-03-28 19:14:13 +03:00
Ivan Smolin 76bdacb777 fix duplicate date transform in single file mode 2018-01-10 22:25:28 +03:00
Ivan Smolin 026184d552 Decimal fix 2017-11-20 17:15:04 +03:00
Alexander Bubnov d189fc99be add new line break 2017-11-13 19:12:16 +03:00
Ivan Smolin f8d805e4e8 comment equtable section 2017-11-05 23:22:08 +03:00
Ivan Smolin 89455e9979 add failable initializer for enums. closes https://github.com/TouchInstinct/api-generator/issues/36 2017-10-25 18:28:43 +03:00
Ivan Smolin eb0fc64219 fix map and array types formatting 2017-10-24 17:41:38 +03:00
Igor Kislyuk 05f724f005 Merge branch 'fix/swift-long' into map-escaping
# Conflicts:
#	Swift/utils.twig
2017-07-31 19:08:37 +03:00
Igor Kislyuk 9746c8609f Add. Int64 2017-07-31 18:06:15 +03:00
Ivan Smolin d944d4d5ee add Equatable protocol conformance
Hashable in progress
2017-06-30 19:10:48 +03:00
Ivan Smolin 67b5fe0809 swift templates refactoring 2017-06-30 17:02:31 +03:00
Ivan Smolin a89a433860 add base swift network service 2017-06-26 18:14:36 +03:00
Ivan Smolin c0b101d1ff swift templates small refactoring 2017-06-23 18:55:50 +03:00
Ivan Smolin 328a62984f fix method.description 2017-06-20 19:58:38 +03:00
Ivan Smolin 8bfcf89e59 methods of same group are contained in same file 2017-06-20 19:41:48 +03:00
Ivan Smolin 9192487cee fix optional fields serialization 2017-06-19 16:13:44 +03:00
Ivan Smolin 1931c14e45 fix ordering of fields in initializer 2017-06-16 15:09:28 +03:00
Ivan Smolin 83962a9c16 optional fields support. part 1 2017-06-16 15:08:42 +03:00
Ivan Smolin 364af1e2c9 fixes:
Static stored properties not supported in generic types;
escaping of default cases in enum;
type parameters formatting;
2017-06-15 22:08:59 +03:00
Ivan Smolin 20e188f2a9 add memberwise initializer 2017-06-13 17:31:52 +03:00
Ivan Smolin 79cab8265d method template 2017-06-13 14:00:13 +03:00
Ivan Smolin 7d658e8891 add mapping to json 2017-06-13 12:34:22 +03:00
Ivan Smolin 1cd38f1973 FIx warning: Redundant String Enum Value Violation: String enum values can be omitted when they are equal to the enumcase name. (redundant_string_enum_value) 2017-06-09 18:09:33 +03:00
Ivan Smolin 63694639e4 MARKS fixes 2017-06-09 17:32:48 +03:00
Ivan Smolin bd61ed529e add import in formatting service 2017-06-09 16:22:05 +03:00
Ivan Smolin ae3eb5bb21 fix hasChilds 2017-06-09 15:36:25 +03:00
Ivan Smolin e96f917b3f initial class templates 2017-06-09 15:33:21 +03:00
Ivan Smolin a8c2f124a1 change extension template -> twig 2017-06-07 20:39:19 +03:00
Ivan Smolin 8d96730e64 Enum template 2017-06-07 20:33:36 +03:00