feat: implement OpenAPI contract regression tests and CI integration#1159
Merged
Devsol-01 merged 1 commit intoJun 30, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@eischideraa-unn Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request: OpenAPI Contract Regression Tests & CI Integration
Description
This PR introduces end-to-end contract regression tests to ensure that the OpenAPI specification remains
consistent and does not drift in ways that break consumer assumptions. It also integrates these tests into the
CI pipeline to act as a gatekeeper against accidental contract breaks.
Changes Implemented
validation on the generated openapi-v2.json.
specialized contract tests.
generation followed by contract validation.
openapi-sdk job. This ensures that any changes causing spec drift are caught during CI before proceeding to
build or deployment.
backend/src/modules/feature-flags/feature-flags.service.ts that was preventing successful project builds.
Testing and Validation
validation logic.
push/PR events to the configured branches.
Related Issues