Commit Graph

30 Commits

Author SHA1 Message Date
Victor Shabanov b47d064fe9 Add public visibility for swift module 2019-10-17 15:19:04 +03:00
Ivan Babkin 5032239132 Fixed copyWithout method and decimal encoding 2019-05-21 15:28:54 +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 7e67644c9f Added new field types 2019-04-25 22:12:08 +03:00
Ivan Smolin 81163c14b3 add copyWithout method to classes 2018-10-30 15:37:32 +03:00
Madhas 56f70e1788 generate encode(to:) method 2018-05-23 20:48:40 +03:00
Madhas 72673f1b5d correct decoder initialization block 2018-05-22 14:57:31 +03:00
Madhas e63da8af25 make coding keys private 2018-05-21 19:03:07 +03:00
Madhas a7f7a3bb5c init fields from decoder block added 2018-05-21 19:02:54 +03:00
Madhas 8cb2a048a8 correct coding keys 2018-05-21 15:25:12 +03:00
Madhas 16b844a9b1 coding keys block corrected 2018-05-21 15:15:15 +03:00
Madhas 4d3a7c7b24 object mapper mapping blocks removed 2018-05-21 14:44:18 +03:00
Madhas 586a207eda coding keys block added 2018-05-21 14:41:28 +03:00
Ivan Smolin d686c41cab Universal mappable 2018-04-17 20:27:56 +03:00
Ivan Smolin 3640a5477f fix equtable, date formatting service and methods without body 2018-04-04 13:32:45 +03:00
Ivan Smolin 210c206892 update DateFormattingService 2018-03-29 17:15:38 +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 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 c0b101d1ff swift templates small refactoring 2017-06-23 18:55:50 +03:00
Ivan Smolin 9192487cee fix optional fields serialization 2017-06-19 16:13:44 +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 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