sdk-codegen
sdk-codegen copied to clipboard
Swift: json decoding issues
There are deserialization issues preventing full retrieval of API endpoint payloads in a variety of formats
- [ ] space/folder parent_id can be null but is specified as not null
- [ ] space/folder parent_id is specified as string but is passed as number
- [ ] dashboard_elements must be omitted from the field list for retrieving a dashboard because they don't deserialize.
- [ ] spaces/folders need to be omitted from the field list for dashboards and looks because they don't deserialize There are other issues as well, but this is enough to get started
Since our existing consumers of this SDK haven't complained about this, perhaps it's no longer an issue any more. I created this ticket long before we modified Swift generation to handle both number or string IDs, so this could well be closable.