Repository navigation
CP-7987 Measurement Plan: document GET and PATCH endpoints - #227
Merged
Merged
Conversation
Add GET and PATCH /impact_frameworks/{id}/measurement_plan and
/projects/{project_id}/measurement_plan to openapi.yaml, with the
MeasurementPlan response and the MeasurementPlanFramework,
MeasurementPlanRow and MeasurementPlanChange schemas copied from the
Rails repo's vendored spec. Add the four matching endpoint cards to the
Library section of the docs page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xqhHSfBrcWPnDm1MUR
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mattkepple
marked this pull request as ready for review
November 29, 2026 10:46
This branch was successfully deployed
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.
API docs for the Measurement Plan endpoints, Jira issue CP-7987.
Rails PRs:
MCP companion PR: MakerbleDev/makerble-mcp#217
What
openapi.yaml: these are copied exactly from the Rails repo's vendored spec (spec/support/api_schemas/openapi.yaml) and merged into the existing sections:/impact_frameworks/{id}/measurement_plan(get and patch) and/projects/{project_id}/measurement_plan(get and patch);components.responses.MeasurementPlan;components.schemasMeasurementPlanFramework,MeasurementPlanRowandMeasurementPlanChange.They follow the file's conventions: the
Librarytag,security: [{tokenAuth: []}], the sharedPage/PerPageparameters and theUnauthorized/Forbidden/NotFound/UnprocessableEntityresponses. The paths sit after/impact_frameworks/{id}/missing_metrics, as they do in the Rails copy.server.js: four hand-writtenendpointCard(...)entries, one per operation, in the Library section after the missing-metrics card. The PATCH cards link to the existing "Add metric to" section for adding a metric to a Survey first. No styles, head, assets or routes were changed (git diff --stat:openapi.yaml+303,server.js+49).Testing
npm run checkpassed: "Site check passed: routes, spec, logo, favicon and branding are intact."$refresolves, and there are no duplicate mapping keys.Release timing
Neither this repo's CLAUDE.md nor its README says whether the API docs have launched publicly, so it isn't clear which rule applies. Matt decides:
maindeploys to Vercel at once.Confluence
MAstill needs a matching page until the migration to api-docs is finished. This PR doesn't cover that.Auto-fix may be enabled on this PR — replies to review comments could come from Claude rather than the named author.
Generated by Claude Code