apple / apple/swift-openapi-generator

Header values are URI encoded

Open
#857 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.