Skip to content

Commit c82b864

Browse files
GvieveGenevieve Nuebel
andauthored
Update v2011 OAS file, Add Automation Variable for Multi-Version (#178)
* Update v2011 and mx_platform_api files * Fix double space wrap issue from consolidator * Update workflows to add commit_sha and remove major --------- Co-authored-by: Genevieve Nuebel <genevieve.nuebel@mx.com>
1 parent 61085cf commit c82b864

4 files changed

Lines changed: 39 additions & 38 deletions

File tree

.github/workflows/update.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
default: "patch"
1212
type: choice
1313
options:
14-
- major
1514
- minor
1615
- patch
1716

@@ -39,13 +38,13 @@ jobs:
3938
- name: Update libraries
4039
env:
4140
LABEL: ${{ github.event.pull_request.labels[0].name }}
42-
if: env.LABEL == 'major' || env.LABEL == 'minor' || env.LABEL == 'patch' && steps.changed-files-specific.outputs.any_changed == true
41+
if: env.LABEL == 'minor' || env.LABEL == 'patch' && steps.changed-files-specific.outputs.any_changed == true
4342
uses: peter-evans/repository-dispatch@v2
4443
with:
4544
token: ${{ steps.generate_token.outputs.token }}
4645
repository: ${{ matrix.repo }}
4746
event-type: generate_publish_release
48-
client-payload: '{"version":"${{ env.LABEL }}"}'
47+
client-payload: '{"version":"${{ env.LABEL }}","commit_sha":"${{ github.sha }}"}'
4948
- name: Slack notification
5049
uses: ravsamhq/notify-slack-action@v2
5150
if: always()
@@ -79,7 +78,7 @@ jobs:
7978
token: ${{ steps.generate_token.outputs.token }}
8079
repository: ${{ matrix.repo }}
8180
event-type: generate_publish_release
82-
client-payload: '{"version":"${{ github.event.inputs.version_level }}"}'
81+
client-payload: '{"version":"${{ github.event.inputs.version_level }}","commit_sha":"${{ github.sha }}"}'
8382
- name: Slack notification
8483
uses: ravsamhq/notify-slack-action@v2
8584
if: always()

.github/workflows/version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
with:
2525
mode: exactly
2626
count: 1
27-
labels: "major, minor, patch"
27+
labels: "minor, patch"
2828
add_comment: true
2929
message: "This PR is blocked until you add one of the following labels: {{ provided }}. Once added you can merge."

openapi/mx_platform_api.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ paths:
178178
- $ref: '#/components/parameters/institutionName'
179179
- $ref: '#/components/parameters/isoCountryCode'
180180
- $ref: '#/components/parameters/page'
181-
- $ref: '#/components/parameters/recordsPerPage'
181+
- $ref: '#/components/parameters/recordsPerPageMax1000'
182182
- $ref: '#/components/parameters/supportsAccountIdentification'
183183
- $ref: '#/components/parameters/supportsAccountStatement'
184184
- $ref: '#/components/parameters/supportsAccountVerification'
@@ -200,7 +200,7 @@ paths:
200200
parameters:
201201
- $ref: '#/components/parameters/isoCountryCode'
202202
- $ref: '#/components/parameters/page'
203-
- $ref: '#/components/parameters/recordsPerPage'
203+
- $ref: '#/components/parameters/recordsPerPageMax1000'
204204
responses:
205205
'200':
206206
content:
@@ -404,7 +404,7 @@ paths:
404404
Use this endpoint to delete the specified `user`. The response will have a status of `204 No Content` without an object.
405405
406406
:::warning
407-
Deleting a user is permanent. Deleted users can never be restored. For more info, see [Deleting Objects](https://docs.mx.com/api-reference/platform-api/overview/deleting-objects).
407+
Deleting a user is permanent. Deleted users can never be restored. For more info, see [Deleting Objects](/api-reference/platform-api/overview/deleting-objects).
408408
:::
409409
operationId: deleteUser
410410
parameters:
@@ -459,7 +459,7 @@ paths:
459459
This endpoint returns a list of all the accounts associated with the specified `user`.
460460
461461
:::warning
462-
This request will not return the full account number. It may return the last four digits of the account number if that information has been provided during aggregation. If you need the full account number, please refer to [List account numbers by member](https://docs.mx.com/api-reference/platform-api/reference/list-account-numbers-by-member/), [List account numbers by account](https://docs.mx.com/api-reference/platform-api/reference/list-account-numbers-by-account/), or the [Fetch Account and Routing Numbers](https://docs.mx.com/products/connectivity/instant-account-verification/fetch-account-routing-number-api/#4-read-the-account-numbers) guide.
462+
This request will not return the full account number. It may return the last four digits of the account number if that information has been provided during aggregation. If you need the full account number, please refer to [List account numbers by member](/api-reference/platform-api/reference/list-account-numbers-by-member/) or [List account numbers by account](/api-reference/platform-api/reference/list-account-numbers-by-account/).
463463
:::
464464
operationId: listUserAccounts
465465
parameters:
@@ -593,7 +593,7 @@ paths:
593593
schema:
594594
$ref: '#/components/schemas/TransactionCreateResponseBody'
595595
get:
596-
description: "Requests to this endpoint return a list of transactions associated with the specified account. <br /><br />Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter)."
596+
description: "Requests to this endpoint return a list of transactions associated with the specified account. <br /><br /> Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter)."
597597
operationId: listTransactionsByAccount
598598
parameters:
599599
- $ref: '#/components/parameters/accountGuid'
@@ -2426,7 +2426,7 @@ paths:
24262426
- $ref: '#/components/parameters/userGuid'
24272427
- $ref: '#/components/parameters/transactionGuid'
24282428
get:
2429-
description: "Requests to this endpoint will return the attributes of the specified `transaction`. To read a manual transaction, use the manual transaction guid in the path as the `transactionGuid`. <br /><br />Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter)."
2429+
description: "Requests to this endpoint will return the attributes of the specified `transaction`. To read a manual transaction, use the manual transaction guid in the path as the `transactionGuid`. <br /><br /> Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter)."
24302430
operationId: readTransaction
24312431
responses:
24322432
'200':
@@ -2763,7 +2763,7 @@ paths:
27632763
$ref: '#/components/schemas/NotificationResponseBody'
27642764
/users/{user_guid}/repeating_transactions:
27652765
get:
2766-
description: "Retrieve a list of all recurring transactions for a user. <br /><br />For more see the [Repeating Transactions guide](repeating-transactions-overview.mdx)."
2766+
description: "Retrieve a list of all recurring transactions for a user. <br /><br />For more see the [Repeating Transactions guide](/api-reference/platform-api/v20111101/reference/transactions-overview#repeating-transactions)."
27672767
operationId: repeatingTransactions
27682768
parameters:
27692769
- $ref: '#/components/parameters/userGuid'
@@ -2779,7 +2779,7 @@ paths:
27792779
- transactions
27802780
/users/{user_guid}/repeating_transactions/{repeating_transaction_guid}:
27812781
get:
2782-
description: "Get a Specific Repeating Transaction. <br /><br />List For more see the [Repeating Transactions guide](repeating-transactions-overview.mdx)"
2782+
description: "Get a Specific Repeating Transaction. <br /><br />List For more see the [Repeating Transactions guide](/api-reference/platform-api/v20111101/reference/transactions-overview#repeating-transactions)"
27832783
operationId: specificRepeatingTransaction
27842784
parameters:
27852785
- $ref: '#/components/parameters/userGuid'
@@ -3023,7 +3023,7 @@ paths:
30233023
- microdeposits
30243024
operationId: readUserMicrodeposit
30253025
summary: Read a microdeposit for a user
3026-
description: "Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. <br /><br /> Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint."
3026+
description: "Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. <br></br> Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint."
30273027
responses:
30283028
'200':
30293029
description: OK
@@ -3519,6 +3519,7 @@ components:
35193519
nullable: true
35203520
type: string
35213521
instructional_text:
3522+
description: "Render this text when end users are asked for their credentials, as it helps end users provide the correct credentials when creating a new member. May contain `<a></a>` tags to link to explanatory material."
35223523
example: "Some instructional text <a href=\"https://example.url.mxbank.com/instructions\" id=\"instructional_text\">for end users</a>."
35233524
nullable: true
35243525
type: string
@@ -6979,7 +6980,7 @@ components:
69796980
example: false
69806981
type: boolean
69816982
description: |
6982-
Only use this option if the `widget_type` is set to `connect_widget`. This determines whether the institution search is displayed within the Connect Widget. This option must be used with `current_institution_code`, `current_instituion_guid`, or `current_member_guid`. When set to `true`, the institution search feature will be disabled and end users will not be able to navigate to it. Defaults to `false`.
6983+
Only use this option if the `widget_type` is set to `connect_widget`. This determines whether the institution search is displayed within the Connect Widget. This option must be used with `current_institution_code`, `current_instituion_guid`, or `current_member_guid`. When set to `true`, the institution search feature will be disabled and end users will not be able to navigate to it. Defaults to `false`. If you set `disable_institution_search` to `true`, you must also listen for the [backToSearch event](/connect/guides/handling-events/#back-to-search) to intercept the user from navigating back to search during the flow. Don't listen for any Primary Action postMessages when you disable search. All buttons that will take a user to the search institution page are still displayed in the Connect Widget experience and your user can still select them. This may trigger during several steps in the Connect Widget flow, such as Connected, MDV/Microdeposits Verified, Login Error, and Credentials/OAuth (back button).
69836984
enable_app2app:
69846985
example: false
69856986
type: boolean
@@ -8062,6 +8063,13 @@ components:
80628063
type: array
80638064
items:
80648065
type: string
8066+
recordsPerPageMax1000:
8067+
description: This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `1000`. If the value exceeds `1000`, the default value of `25` will be used instead.
8068+
example: 10
8069+
in: query
8070+
name: records_per_page
8071+
schema:
8072+
type: integer
80658073
supportsAccountIdentification:
80668074
description: Filter only institutions which support account identification.
80678075
example: true
@@ -8098,13 +8106,6 @@ components:
80988106
required: true
80998107
schema:
81008108
type: string
8101-
recordsPerPageMax1000:
8102-
description: This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `1000`. If the value exceeds `1000`, the default value of `25` will be used instead.
8103-
example: 10
8104-
in: query
8105-
name: records_per_page
8106-
schema:
8107-
type: integer
81088109
merchantLocationGuid:
81098110
description: The unique id for a `merchant_location`.
81108111
example: MCH-09466f0a-fb58-9d1a-bae2-2af0afbea621

0 commit comments

Comments
 (0)