apple / apple/swift-openapi-generator
Share extension support
- Dominant language
- Swift
- Stars
- 2k
- Forks
- 182
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 5
Description
### Question
I'm trying to access the generator swift package inside a Share Extension.

I get this error when building: `_OpenAPIGeneratorCore is only to be used by swift-openapi-generator itself—your target should not link this library or the command line tool directly.`
Please let me know what I'm doing wrong or how to get access to the generator. Thank you.
Contributor guide
Research direction
Start by reproducing the build in the Share Extension and inspect how the generator Swift package is linked. Use the reported error to determine the supported integration path; done means the Share Extension can access the generator without directly linking _OpenAPIGeneratorCore or the command-line tool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100