OSDN Git Service

使わないkeyを追加
authormasakih <masakih@users.sourceforge.jp>
Fri, 17 Aug 2018 15:36:24 +0000 (00:36 +0900)
committermasakih <masakih@users.sourceforge.jp>
Fri, 17 Aug 2018 15:38:01 +0000 (00:38 +0900)
KCD/MasterFurnitureMapper.swift
KCD/MasterShipMapper.swift

index e31fcb2..186cd73 100644 (file)
@@ -14,7 +14,7 @@ final class MasterFurnitureMapper: JSONMapper {
     let configuration = MappingConfiguration(entity: MasterFurniture.self,
                                              dataKeys: ["api_data", "api_mst_furniture"],
                                              editorStore: ServerDataStore.oneTimeEditor(),
-                                             ignoreKeys: ["api_season"])
+                                             ignoreKeys: ["api_season", "api_active_flag", "api_outside_id", "api_version"])
     
     required init(_ apiResponse: APIResponse) {
         
index 9feb967..b6f0494 100644 (file)
@@ -14,7 +14,8 @@ final class MasterShipMapper: JSONMapper {
     let apiResponse: APIResponse
     let configuration = MappingConfiguration(entity: MasterShip.self,
                                              dataKeys: ["api_data", "api_mst_ship"],
-                                             editorStore: ServerDataStore.oneTimeEditor())
+                                             editorStore: ServerDataStore.oneTimeEditor(),
+                                             ignoreKeys: ["api_sort_id"])
     
     required init(_ apiResponse: APIResponse) {