swagger-api / swagger-api/swagger-codegen
[Swift4] Can the APIHelper be made public?
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
THe APIHelper class contains useful methods like rejectNilHeaders which can be used in and out of the Swagger codegen code. However this cannot be used as the class is not public and the methods are internal.
Swagger-codegen version
2.3.1
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
Make the class public and the methods public just like CodableHelper
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
Search the Swift4 generator templates for APIHelper and compare its visibility with CodableHelper. Confirm which generated helper and methods are affected, then check the generated Swift output or existing tests; done means APIHelper and the requested methods are publicly usable outside the generated code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100