apple / apple/swift-openapi-generator
Support skipping deprecated types and methods
- Dominant language
- Swift
- Stars
- 2k
- Forks
- 182
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 5
Description
### Motivation
With the newly introduced support for deprecations, generating code from the the AppStoreConnect openapi.json is unbearable. there are hundreds of deprecation warnings (and errors - more on that in another issue)
### Proposed solution
Please allow for skipping creating deprecated types and methods when generating code in the config file.
### Alternatives considered
_No response_
### Additional information
_No response_
Contributor guide
Research direction
Start by locating the generator configuration and the code paths that create types and methods from deprecated OpenAPI elements. Confirm how deprecations are represented, then define the configuration behavior so generation can omit those elements; done means a deprecated type or method is absent when the option is enabled while existing generation remains unchanged by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, swift
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100