Custom mappings between schema formats and Swift Types#142
Custom mappings between schema formats and Swift Types#142liamnichols merged 7 commits intoCreateAPI:mainCreateAPI/CreateAPI:mainfrom LePips:datatype-swift-type-overrideLePips/CreateAPI:datatype-swift-type-overrideCopy head branch name to clipboard
Conversation
|
Because 1 - update the tests as newly generated with 2 - update the test definitions with |
|
Good point! Let's preserve the original behaviour first (use a default of Int for both of the formats) and then we can sort the default later 👍🏼 |
liamnichols
left a comment
There was a problem hiding this comment.
Looking good so far! Yeah let's preserve the original default behaviour for now, then we can change it in a follow up PR 👍🏼
|
To accommodate the smallest diff here for "preserving the default behavior" I force Commented |
|
In my documentation I state that types must conform to If there is no other motive for these options, I just think that these are kind of redundant as it's implicitly expected that objects are |
This PR allows custom Swift type overrides for schema datatype formats (not global for this):
Also removes
useFixWidthIntegersin favor of the above example datatype override.