cloudflare / cloudflare/chanfana
Don't include content if there is nothing but status that return in the response
Open
- Dominant language
- TypeScript
- Stars
- 766
- Forks
- 70
- Avg merge
- 25m
- Merged PRs (30d)
- 4
Description

that would be nice if we don't get the empty object has a response content in json file.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Reproduce the generated JSON from the attached image, then locate the response-generation path and identify how status-only responses are represented; done means those responses omit an empty content object while responses with content remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100