From ecf4082d686547e03eec7d549261029f14000d07 Mon Sep 17 00:00:00 2001 From: kubo_takaichi Date: Tue, 14 Jul 2015 13:41:28 +0900 Subject: [PATCH] Fix bug in api name placeholder and api url --- .../swagger-codegen/src/main/resources/swift/APIs.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/swift/APIs.mustache b/modules/swagger-codegen/src/main/resources/swift/APIs.mustache index e473915cf24..c5ec8da35f1 100644 --- a/modules/swagger-codegen/src/main/resources/swift/APIs.mustache +++ b/modules/swagger-codegen/src/main/resources/swift/APIs.mustache @@ -6,8 +6,8 @@ import Foundation -class OneteamAPI { - static let basePath = "http://ec2-52-68-31-200.ap-northeast-1.compute.amazonaws.com/" +class {{projectName}}API { + static let basePath = "{{basePath}}" static var credential: NSURLCredential? static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory() }