Skip to content

Commit

Permalink
feat/#240 API 명세 반영 및 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
youz2me committed Jul 18, 2024
1 parent 923f779 commit 48bf47b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ import Foundation

struct PromiseInfoModel: ResponseModelType {
let promiseID: Int
let placeName, address, roadAddress, time, dressUpLevel, penalty: String
let promiseName, placeName, address, roadAddress, time, dressUpLevel, penalty: String

enum CodingKeys: String, CodingKey {
case promiseID = "promiseId"
case promiseName
case placeName
case address
case roadAddress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class MockPromiseInfoService: PromiseInfoServiceType {
func getPromiseInfo(with promiseId: Int) -> ResponseBodyDTO<PromiseInfoModel>? {
let mockData = PromiseInfoModel(
promiseID: 1,
promiseName: "dd",
placeName: "홍대입구",
address: "대현동 90-35",
roadAddress: "서울 서대문구 이화여대1길 28",
Expand Down

0 comments on commit 48bf47b

Please sign in to comment.