swagger-api / swagger-api/swagger-codegen

[Objective-C] Feature Request: Use AFHttpSessionManager instead of AFHTTPRequestOperationManager

Open
#1,981 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Objc help wanted
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.