apple / apple/swift-openapi-generator
Header values are URI encoded
Open
- Dominant language
- Swift
- Stars
- 2k
- Forks
- 182
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 5
Description
Header values are URI-encoded by swift-openapi-generator. This is incorrect eg. for `Cache-Control` headers where translating `max-cache=3600` to `max-cache%3D3600` produces an invalid cache-control header.
Contributor guide
Research direction
Start by locating where generated HTTP header values are URI-encoded and reproduce the Cache-Control example from the issue. Done means header values such as max-cache=3600 remain unencoded and produce valid Cache-Control headers; add or update coverage if the relevant tests are found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100