fix(openapi): document selftune override audit and clear routes (#9303) - #9442
Merged
JSONbored merged 3 commits intoJul 27, 2026
Merged
Conversation
…bored#9303) GET .../selftune/overrides/audit and DELETE .../selftune/overrides were live (and MCP-backed) but absent from OpenAPI. Add response schemas mirroring the MCP output shapes, register both paths (optional limit query + confirm body), regenerate openapi.json, and add a parity regression test. Replaces closed PR 9411 on current main. Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve the openapi.json conflict by regenerating from the merged schemas/spec sources so JSONbored#9303 selftune override routes and main coexist. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
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 #9442 +/- ##
==========================================
+ Coverage 75.51% 75.68% +0.17%
==========================================
Files 275 277 +2
Lines 58032 58462 +430
Branches 6209 6216 +7
==========================================
+ Hits 43820 44249 +429
Misses 13942 13942
- Partials 270 271 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Contributor
|
Important 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏳ LoopOver is waiting…LoopOver has seen this pull request and is waiting on CI checks to finish before reviewing it. This comment will update once the review runs. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed · 🟨 Waiting |
JSONbored
approved these changes
Jul 27, 2026
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.
Summary
SelftuneOverrideAuditResponseandClearSelftuneOverrideResponseschemas mirroringselftuneOverrideAuditOutputSchema/clearSelftuneOverrideOutputSchema.GET /v1/repos/{owner}/{repo}/selftune/overrides/audit(optionallimitquery) andDELETE /v1/repos/{owner}/{repo}/selftune/overrides(confirm:truebody) next togate-config/effective.apps/loopover-ui/public/openapi.json.Why #9411 closed
PR #9411 was closed after a dirty/conflicting base (and a mistaken screenshot-table close heuristic on a docs-only change). This is a fresh reimplementation on current
upstream/main.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— 7 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. Do not treat as a visual PR.Notes for reviewers / gate
.optional()to match the MCPoutputSchemashapes field-for-field.