Skip to content

fix(openapi): document validate-linked-issue + check-before-start (#9304) - #9441

Closed
wondercreatemaster wants to merge 1 commit into
JSONbored:mainfrom
wondercreatemaster:fix/9304-openapi-prework-checks-v2
Closed

fix(openapi): document validate-linked-issue + check-before-start (#9304)#9441
wondercreatemaster wants to merge 1 commit into
JSONbored:mainfrom
wondercreatemaster:fix/9304-openapi-prework-checks-v2

Conversation

@wondercreatemaster

Copy link
Copy Markdown

Summary

  • Document POST /v1/repos/{owner}/{repo}/validate-linked-issue and POST /v1/repos/{owner}/{repo}/check-before-start in the OpenAPI contract — both routes were live (API + MCP) but missing from src/openapi/spec.ts / openapi.json.
  • Add MCP-aligned request/response schemas (ValidateLinkedIssue* / CheckBeforeStart*) matching validateLinkedIssueShape / checkBeforeStartShape and their output schemas in src/mcp/server.ts (owner/repo stay path params).
  • Regenerate apps/loopover-ui/public/openapi.json and add a field-parity regression test so future MCP/OpenAPI drift fails loudly.

Test plan

Fixes #9304

Made with Cursor

…ONbored#9304)

These two pre-work-check routes were live (API + MCP) but absent from the
OpenAPI contract, so they never appeared in the generated openapi.json.
Mirror the JSONbored#6611 / JSONbored#9301 pattern: MCP-aligned request/response schemas,
registerPath entries, and a field-parity regression test.
@wondercreatemaster

Copy link
Copy Markdown
Author

Superseded: main moved again before review; opening a fresh one-shot PR rebased on latest main.

@superagent-security

Copy link
Copy Markdown
Contributor

Superagent did not find any vulnerabilities or security issues in this PR.

@loopover-orb loopover-orb Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openapi: validate-linked-issue + check-before-start missing from spec (MCP tools + schemas already exist)

1 participant