You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Runtime] Stop generating an undocumented case for enums/oneOfs (#40)
[Runtime] Stop generating an undocumented case for enums/oneOfs
### Motivation
Runtime side of apple/swift-openapi-generator#205
### Modifications
Added a helper function that produces the right error.
### Result
Generated code can use this error to throw when an unknown case is encountered.
### Test Plan
Tested together with the generator.
Reviewed by: glbrntt
Builds:
✔︎ pull request validation (5.8) - Build finished.
✔︎ pull request validation (5.9) - Build finished.
✔︎ pull request validation (api breakage) - Build finished.
✔︎ pull request validation (docc test) - Build finished.
✔︎ pull request validation (integration test) - Build finished.
✔︎ pull request validation (nightly) - Build finished.
✔︎ pull request validation (soundness) - Build finished.
#40
0 commit comments