Skip to content

Generate from server spec 1.79.0#89

Merged
bradymholt merged 1 commit intomainfrom
gen-mar-2026-1-79
Mar 5, 2026
Merged

Generate from server spec 1.79.0#89
bradymholt merged 1 commit intomainfrom
gen-mar-2026-1-79

Conversation

@bradymholt
Copy link
Copy Markdown
Member

@bradymholt bradymholt commented Mar 5, 2026

Summary

  • Update all API endpoint paths from /budgets/{plan_id}/... to /plans/{plan_id}/... to match the server spec 1.79.0 URL scheme
  • Rename response data fields to align with the new naming: PlanDetailResponseData.budget.plan, PlanSummaryResponseData.budgets.plans, PlanSummaryResponseData.default_budget.default_plan
  • Backwards compatibility is maintained for clients using /budgets... in URL path. The data fields will maintain their previous names when /budgets... is used in URL request path.
  • Update specs and VCR cassettes to use new /plans/... paths

Breaking Changes

This is a breaking change for consumers relying on:

  • PlanDetailResponseData.budget (now .plan)
  • PlanSummaryResponseData.budgets (now .plans)
  • PlanSummaryResponseData.default_budget (now .default_plan)

Server spec 1.79.0 changes the path from /budget[s] to /plan[s] and also
a few of the member names in the response from 'budget[s]' to 'plan[s]'
and 'default_budget' to 'default_plan'.

Backwards compatibility is maintained for the member names.  The
member names are only changed if /budgets is used in URL rather than
/plans.
@bradymholt bradymholt merged commit 9166bb7 into main Mar 5, 2026
3 checks passed
@bradymholt bradymholt deleted the gen-mar-2026-1-79 branch March 5, 2026 21:26
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

The changes in this PR were just released in 5.0.0 🎉.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant