-
Notifications
You must be signed in to change notification settings - Fork 91
[TEST] Add contract tests for frontend API client against backend OpenAPI schema #258
Copy link
Copy link
Open
Labels
area:backendBackend API, database, or service workBackend API, database, or service workarea:frontendFrontend React/UI workFrontend React/UI worklevel:advanced55 pts difficulty label for advanced contributor PRs55 pts difficulty label for advanced contributor PRspriority:mediumImportant issue with normal urgencyImportant issue with normal urgencytype:devopsDevOps or infrastructure work category bonus labelDevOps or infrastructure work category bonus labeltype:testingTesting work category bonus labelTesting work category bonus label
Metadata
Metadata
Assignees
Labels
area:backendBackend API, database, or service workBackend API, database, or service workarea:frontendFrontend React/UI workFrontend React/UI worklevel:advanced55 pts difficulty label for advanced contributor PRs55 pts difficulty label for advanced contributor PRspriority:mediumImportant issue with normal urgencyImportant issue with normal urgencytype:devopsDevOps or infrastructure work category bonus labelDevOps or infrastructure work category bonus labeltype:testingTesting work category bonus labelTesting work category bonus label
Problem
SecuScan needs a production-grade improvement in this area: Frontend/backend contract safety..
Scope
Generate or validate TypeScript API types from backend schema and fail tests when response contracts drift.
Acceptance Criteria
Verification
Tests should catch a deliberate backend response shape mismatch or stale frontend type.
Difficulty
Hard, useful issue intended for experienced contributors.