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
Hide strict OpenAPI validation behind a feature flag (#162)
Hide strict OpenAPI validation behind a feature flag
### Motivation
In #130, we introduced stricted validation of input OpenAPI documents. Reflecting back, since this might start rejecting OpenAPI document that were previously accepted, that is considered a breaking change and should be hidden behind a feature flag, only to be enabled unconditionally in the next breaking version.
### Modifications
Hide the new validation behind a feature flag.
### Result
Without providing the feature flag explicitly, the generator will maintain its old behavior and not perform strict validation.
### Test Plan
N/A - this is a speculative fix to maintain backwards compatibility in the 0.1.x version.
Reviewed by: simonjbeaumont
Builds:
✔︎ pull request validation (5.8) - Build finished.
✔︎ pull request validation (5.9) - 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.
#162
0 commit comments