swagger-api / swagger-api/swagger-codegen
[Objective-C] Feature Request: Use AFHttpSessionManager instead of AFHTTPRequestOperationManager
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Currently the client's inherit from AFHTTPRequestOperationManager, which is no longer supported in AFNetworking 3.
Regarding future updates it would be great to have it use AFHttpSessionManager instead. This way the generated code should be compatible with both AFNetworking 2 and 3.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Objective-C client templates and the generated client's AFHTTPRequestOperationManager inheritance. Check how AFHttpSessionManager is represented in AFNetworking 2 and 3, then verify generated clients against both versions; done means the generated code no longer depends on the unsupported manager and remains compatible with both releases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- api, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100