fix(openapi): document validate-linked-issue + check-before-start (#9304) - #9441
Closed
wondercreatemaster wants to merge 1 commit into
Closed
Conversation
…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.
Author
|
Superseded: main moved again before review; opening a fresh one-shot PR rebased on latest main. |
Contributor
|
Superagent did not find any vulnerabilities or security issues in this PR. |
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
POST /v1/repos/{owner}/{repo}/validate-linked-issueandPOST /v1/repos/{owner}/{repo}/check-before-startin the OpenAPI contract — both routes were live (API + MCP) but missing fromsrc/openapi/spec.ts/openapi.json.ValidateLinkedIssue*/CheckBeforeStart*) matchingvalidateLinkedIssueShape/checkBeforeStartShapeand their output schemas insrc/mcp/server.ts(owner/repo stay path params).apps/loopover-ui/public/openapi.jsonand add a field-parity regression test so future MCP/OpenAPI drift fails loudly.Test plan
main(resolves conflict with docs(openapi): document the /v1/lint/* + /v1/validate/focus-manifest route family in the spec #9430 lint OpenAPI docs)npm run ui:openapi+npm run ui:openapi:checknpx vitest run test/unit/openapi.test.tsvalidate/codecov/patchon the PRFixes #9304
Made with Cursor