Skip to content

Commit c066049

Browse files
author
Nicki Nixon
committed
fix(spec): sync 21 missing operationIds from source
Sync missing operationIds from v20111101.yaml to mx_platform_api.yml for existing path operations that were not updated during Phase 4. Root cause: Phase 4 only added/removed entire paths but didn't update properties on paths that already existed in both files. Operations existed in mx_platform_api.yml before synchronization but lacked operationIds. Solution: Created fix_missing_operationIds.rb and refactored logic into phase4_sync_paths.rb as Part 3 to prevent future occurrences. Validation: Resolved all 21 operation-operationId warnings - Before: 231 warnings (21 operationId + 210 others) - After: 210 warnings (pre-existing from source: missing 4xx, descriptions)
1 parent 0e35a0c commit c066049

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

openapi/mx_platform_api.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ paths:
531531
application/vnd.mx.api.v1+json:
532532
schema:
533533
$ref: '#/components/schemas/TransactionCreateResponseBody'
534+
operationId: createManualTransaction
534535
get:
535536
description: This endpoint returns a list of the last 90 days of transactions associated with the specified account.
536537
operationId: listTransactionsByAccount
@@ -566,6 +567,7 @@ paths:
566567
application/json:
567568
schema:
568569
$ref: '#/components/schemas/BudgetResponseBody'
570+
operationId: autoGenerateBudgets
569571
"/users/{user_guid}/budgets":
570572
post:
571573
tags:
@@ -587,6 +589,7 @@ paths:
587589
application/json:
588590
schema:
589591
$ref: '#/components/schemas/BudgetResponseBody'
592+
operationId: createBudget
590593
get:
591594
tags:
592595
- budgets
@@ -601,6 +604,7 @@ paths:
601604
application/json:
602605
schema:
603606
$ref: '#/components/schemas/BudgetResponseBody'
607+
operationId: listAllBudgets
604608
"/users/{user_guid}/budgets/{budget_guid}":
605609
get:
606610
tags:
@@ -617,6 +621,7 @@ paths:
617621
application/json:
618622
schema:
619623
$ref: '#/components/schemas/BudgetResponseBody'
624+
operationId: readSpecificBudget
620625
put:
621626
tags:
622627
- budgets
@@ -638,6 +643,7 @@ paths:
638643
application/json:
639644
schema:
640645
$ref: '#/components/schemas/BudgetResponseBody'
646+
operationId: updateSpecificBudget
641647
delete:
642648
tags:
643649
- budgets
@@ -649,6 +655,7 @@ paths:
649655
responses:
650656
"204":
651657
description: No content
658+
operationId: deleteBudget
652659
"/users/{user_guid}/categories":
653660
get:
654661
description: Use this endpoint to list all categories associated with a `user`, including both default and custom categories.
@@ -803,6 +810,7 @@ paths:
803810
application/json:
804811
schema:
805812
$ref: '#/components/schemas/GoalResponseBody'
813+
operationId: createGoal
806814
get:
807815
tags:
808816
- goals
@@ -825,6 +833,7 @@ paths:
825833
application/json:
826834
schema:
827835
$ref: '#/components/schemas/GoalsResponseBody'
836+
operationId: listGoals
828837
"/users/{user_guid}/goals/{goal_guid}":
829838
delete:
830839
tags:
@@ -837,6 +846,7 @@ paths:
837846
responses:
838847
"204":
839848
description: No content
849+
operationId: deleteGoal
840850
get:
841851
tags:
842852
- goals
@@ -852,6 +862,7 @@ paths:
852862
application/json:
853863
schema:
854864
$ref: '#/components/schemas/GoalResponseBody'
865+
operationId: readGoal
855866
put:
856867
tags:
857868
- goals
@@ -873,6 +884,7 @@ paths:
873884
application/json:
874885
schema:
875886
$ref: '#/components/schemas/GoalResponseBody'
887+
operationId: updateGoal
876888
"/users/{user_guid}/goals/reposition":
877889
put:
878890
tags:
@@ -894,6 +906,7 @@ paths:
894906
application/json:
895907
schema:
896908
$ref: '#/components/schemas/RepositionResponseBody'
909+
operationId: repositionGoals
897910
"/users/{user_guid}/insights":
898911
get:
899912
description: Use this endpoint to list all the insights associated with the user.
@@ -1970,6 +1983,7 @@ paths:
19701983
application/json:
19711984
schema:
19721985
$ref: '#/components/schemas/MicrodepositsResponseBody'
1986+
operationId: listUserMicrodeposits
19731987
post:
19741988
tags:
19751989
- microdeposits
@@ -1990,6 +2004,7 @@ paths:
19902004
application/json:
19912005
schema:
19922006
$ref: '#/components/schemas/MicrodepositResponseBody'
2007+
operationId: createMicrodeposit
19932008
"/users/{user_guid}/micro_deposits/{micro_deposit_guid}":
19942009
delete:
19952010
tags:
@@ -2002,6 +2017,7 @@ paths:
20022017
responses:
20032018
"204":
20042019
description: No Content
2020+
operationId: deleteMicrodeposit
20052021
get:
20062022
tags:
20072023
- microdeposits
@@ -2017,6 +2033,7 @@ paths:
20172033
application/json:
20182034
schema:
20192035
$ref: '#/components/schemas/MicrodepositResponseBody'
2036+
operationId: readUserMicrodeposit
20202037
"/users/{user_guid}/monthly_cash_flow_profile":
20212038
get:
20222039
parameters:
@@ -2031,6 +2048,7 @@ paths:
20312048
tags:
20322049
- monthly cash flow profile
20332050
summary: Read monthly cash flow profile
2051+
operationId: readMonthlyCashFlowProfile
20342052
put:
20352053
description: Use this endpoint to update the attributes of a `monthly_cash_flow_profile`.
20362054
parameters:
@@ -2051,6 +2069,7 @@ paths:
20512069
tags:
20522070
- monthly cash flow profile
20532071
summary: Update monthly cash flow profile
2072+
operationId: updateMonthlyCashFlowProfile
20542073
"/users/{user_guid}/spending_plans/{spending_plan_guid}/iterations/current/iteration_items":
20552074
post:
20562075
description: This endpoint creates a new `spending_plan_iteration_item`.
@@ -2686,6 +2705,7 @@ paths:
26862705
summary: Delete split transactions
26872706
tags:
26882707
- transactions
2708+
operationId: deleteSplitTransactions
26892709
post:
26902710
description: This endpoint creates two or more child transactions that are branched from a previous transaction. This endpoint allows you to link multiple categories, descriptions, and amounts to a parent transaction. When a split transaction is created, the parent transaction's `has_been_split` field will automatically be updated to true and the child transactions' `parent_guid` will have the transaction guid of the parent. The total amount of the child transactions must equal the amount of the parent transaction. Once a transaction has been split it can't be split again. In order to re-split a transaction, it must first be un-split. This can be done by calling the Delete Split Transactions endpoint. Calling this endpoint will delete the existing child transactions and update the parent transaction's `has_been_split` field to false. You can then re-split the parent transaction by calling Create Split Transaction again.
26912711
parameters:
@@ -2706,6 +2726,7 @@ paths:
27062726
summary: Create split transactions
27072727
tags:
27082728
- transactions
2729+
operationId: createSplitTransactions
27092730
"/users/{user_guid}/widget_urls":
27102731
post:
27112732
description: This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.

0 commit comments

Comments
 (0)