apple / apple/swift-openapi-generator
Emit a prettier error when config file is missing when calling CLI manually
Open
area/generator
good first issue
kind/usability
- Dominant language
- Swift
- Stars
- 2k
- Forks
- 182
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 5
Description
Emit a prettier error when config file is missing when calling CLI manually
Right now we get: `{Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}`
Contributor guide
Research direction
Start by reproducing the manual CLI invocation without a config file and trace where the missing-file error is surfaced. Identify the CLI config-loading and error-reporting entry points, then verify that the command emits a clear, user-facing message instead of the raw NSPOSIXErrorDomain error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100