fix(openapi): document contributor watches GET/POST/DELETE - #9456
Conversation
…#9306) GET/POST/DELETE /v1/contributors/{login}/watches were live (REST mirror of loopover_watch_issues) but absent from OpenAPI. Add MCP-aligned request and response schemas, register all three verbs, regenerate openapi.json, and add a field-parity regression test. Replaces conflict-closed PR 9446 on current main. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9456 +/- ##
==========================================
+ Coverage 75.51% 76.13% +0.62%
==========================================
Files 275 278 +3
Lines 58032 59708 +1676
Branches 6209 6456 +247
==========================================
+ Hits 43820 45460 +1640
- Misses 13942 13955 +13
- Partials 270 293 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-27 19:46:27 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. Scroll preview
A short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|


Summary
ContributorWatchRequest/ContributorWatchesResponseschemas mirroringwatchSubscriptionBodySchemaandwatchIssuesOutputSchema.GET/POST/DELETE /v1/contributors/{login}/watchesin the OpenAPI spec.apps/loopover-ui/public/openapi.json.Why #9446 closed
PR #9446 had green CI and no review blockers, but was auto-closed for a base-branch conflict. This is a fresh reimplementation on current
upstream/main.Competing open PR
#9453 is also open for #9306. Do not open this branch while #9453 is still mergeable unless racing it — same issue / same OpenAPI surfaces.
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run ui:openapi+npm run ui:openapi:checknpx vitest run test/unit/openapi.test.ts— 10 passednpm run test:ci(full gate; run before push)If any required check was skipped, explain why:
OpenAPI documentation + regeneration + targeted contract test complete. Full
test:cileft for the opener.Safety
site/,CNAME,**/lovable/**, or rootCHANGELOG.md.UI Evidence
N/A — OpenAPI contract / generated
openapi.jsononly; no product UI change.Notes for reviewers / gate
npm run ui:openapirather than hand-mergingopenapi.json.