Skip to content

[Swift] Updates for Swift 4.2 #1443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Dec 17, 2018
Merged

Conversation

joeboyscout04
Copy link
Contributor

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.
    @jgavris @ehyche @Edubits @jaz-ah @d-date

Description of the PR

This PR updates various parts of the swift4 package including:

  • Update Alamofire dependency so it is compatible with Swift 4.2
  • Update run_xcodebuild.sh in the tests to use iPhone 8,OS=12.1 so the tests are runnable on modern versions of Xcode.
  • Fixes a few compilation issues with running the tests on XCode 10
  • Updates the naming of the artifactId in the pom.xml for the tests to say "Swift4" instead of Swift3.

Joseph Elliott added 5 commits November 15, 2018 14:21
…rator into OpenAPITools-master

# Conflicts:
#	samples/client/petstore/swift4/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
@joeboyscout04
Copy link
Contributor Author

I think this should be good now, can you do a re-review?

Copy link

@d-date d-date left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@d-date d-date merged commit 33fbd9c into OpenAPITools:master Dec 17, 2018
@wing328 wing328 added this to the 4.0.0 milestone Dec 30, 2018
@wing328
Copy link
Member

wing328 commented Jan 2, 2019

@joeboyscout04 thanks for the contribution, which has been included in the 4.0.0-beta release: https://twitter.com/oas_generator/status/1079727020374806529.

Happy New Year and looking forward to more collaboration and contributions in 2019!

A-Joshi pushed a commit to ihsmarkitoss/openapi-generator that referenced this pull request Feb 27, 2019
* [Swift] Update Alamofire version and update tests and Swift version to 4.2 for default and RxSwift variants

* Update promiseKit for Swift 4.0

* Update project files.

* Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator into OpenAPITools-master

# Conflicts:
#	samples/client/petstore/swift4/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj

* Merge in latest master

* Remove typo in bash file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants