Skip to content
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

[ObjC] AFNetworking pinnedCertificates API usage fix #4143

Merged

Conversation

RomanTruba
Copy link
Contributor

@RomanTruba RomanTruba commented Nov 5, 2016

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch 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)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Current version of generated code produces a warning: Incompatible pointer types sending 'NSArray *' to parameter of type 'NSSet<NSData *> * _Nullable'

This PR updates AFNetworking API usage according to this commit: AFNetworking/AFNetworking@352f851

@wing328
Copy link
Contributor

wing328 commented Nov 7, 2016

@Dreddik thanks for the PR.

cc @mateuszmackowiak

@wing328 wing328 merged commit 07bec36 into swagger-api:master Nov 15, 2016
davidgri pushed a commit to davidgri/swagger-codegen that referenced this pull request May 11, 2017
* Fixed afnetworking API usage: pinnedCertificates now declared as NSSet, not as NSArray

* Petstore updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants