docs(openapi): document contributor watches GET/POST/DELETE routes (#9306) - #9453
docs(openapi): document contributor watches GET/POST/DELETE routes (#9306)#9453RealDiligent wants to merge 1 commit into
Conversation
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-27 19:38:04 UTC
Review summary Nits — 6 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionPartially addressed 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.
|
/v1/contributors/:login/watches is live across all three verbs (GET=list, POST=watch, DELETE=unwatch) as the REST mirror of the loopover_watch_issues MCP tool, but no verb appeared in the OpenAPI spec. Add ContributorWatchesResponseSchema (field-level parity with watchIssuesOutputSchema) + ContributorWatchRequestSchema (the POST/DELETE body), register them, and registerPath all three verbs mirroring the neighboring contributor notifications routes. Regenerate the committed apps/loopover-ui/public/openapi.json.
|
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 #9453 +/- ##
==========================================
+ Coverage 75.51% 75.69% +0.18%
==========================================
Files 275 277 +2
Lines 58032 58479 +447
Branches 6209 6216 +7
==========================================
+ Hits 43820 44266 +446
Misses 13942 13942
- Partials 270 271 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
LoopOver is closing this pull request on the maintainer's behalf (conflicts with the base branch — resolve and open a fresh PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |


Problem
Closes #9306.
/v1/contributors/:login/watchesis live across all three verbs (GET=list, POST=watch, DELETE=unwatch) as the REST mirror of theloopover_watch_issuesMCP tool — whoseactionenum splits across the verbs — but no verb appears insrc/openapi/spec.ts.Fix
Mirrors the neighboring
/v1/contributors/{login}/notificationsroutes:src/openapi/schemas.ts:ContributorWatchesResponseSchema(field-level parity withwatchIssuesOutputSchema) +ContributorWatchRequestSchema(the POST/DELETE body, mirroringwatchSubscriptionBodySchema: repoFullName + optional labels).src/openapi/spec.ts:registry.registerboth, thenregisterPathall three verbs (GET / POST / DELETE) for the path (login param; POST/DELETE carry the body + 400).apps/loopover-ui/public/openapi.json;npm run ui:openapi:checkenforces it.test/unit/openapi.test.tspasses; 100% patch coverage on the newschemas.ts/spec.tslines.