bugger/Sources/Services/Feishu
tigerenwork ae918a379c fix: remove redundant CodingKeys conflicting with .convertFromSnakeCase
JSONDecoder.keyDecodingStrategy = .convertFromSnakeCase converts JSON keys
like 'tenant_access_token' to Swift names like 'tenantAccessToken'. Having
explicit CodingKeys that map to the ORIGINAL snake_case keys (e.g.,
case tenantAccessToken = "tenant_access_token") causes a collision:
the decoder first converts the JSON key, then looks for a CodingKey
matching the original name — but the converted name doesn't match.

Removed redundant CodingKeys from OAuthTokenData, TenantAccessTokenData,
UserInfoData, and RecordItem. .convertFromSnakeCase handles all these
mappings automatically.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-29 00:30:51 +08:00
..
FeishuAuthService.swift fix: tenant_access_token response is flat, not wrapped in data key 2026-06-29 00:28:39 +08:00
FeishuError.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
FeishuModels.swift fix: remove redundant CodingKeys conflicting with .convertFromSnakeCase 2026-06-29 00:30:51 +08:00
FeishuService.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00