forked from loafle/openapi-generator-original
* Fix build error in Xcode 9 beta 3, as .compact is no longer defined * Add test schema for Swift 4 and associated script and config files * Add test app for swift4Test.json schema * Make integer, Integer, int, and Int32 types map to Swift Int type instead of Int32 type * Add CodingKeys to model template, which allows us to serialize/deserialize variable names that are different than property names * Make updates to Swift 4 test schema * Fixes for unit test app for swift4Test.json Swift 4 test schema
20 lines
468 B
Ruby
20 lines
468 B
Ruby
use_frameworks!
|
|
source 'https://github.com/CocoaPods/Specs.git'
|
|
|
|
target 'TestClientApp' do
|
|
pod "TestClient", :path => "../"
|
|
pod 'Alamofire', '~> 4.5'
|
|
|
|
target 'TestClientAppTests' do
|
|
inherit! :search_paths
|
|
end
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |configuration|
|
|
configuration.build_settings['SWIFT_VERSION'] = "4.0"
|
|
end
|
|
end
|
|
end
|