Skip to content

Commit b1baf42

Browse files
author
Nicki Nixon
committed
fix(openapi): add required items field to iso_country_code array schema
Add items field to WidgetRequest.iso_country_code to comply with OpenAPI 3.0 specification requirement that array types must define their element types. This change makes the schema technically valid without affecting documentation display or user request construction, as the example array already demonstrates the expected string values ["US", "CA"].
1 parent af694d5 commit b1baf42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openapi/mx_platform_api.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7241,8 +7241,10 @@ components:
72417241
description: |
72427242
Only use this option if the `widget_type` is set to `connect_widget`. This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. When set to `false`, the widget will **not** direct the end user to the institution's mobile application. This setting is not persistent. This setting currently only affects Chase institutions.
72437243
iso_country_code:
7244-
example: ["US", "CA"]
72457244
type: array
7245+
items:
7246+
type: string
7247+
example: ["US", "CA"]
72467248
description: |
72477249
An array of strings that filters institutions in the widget by the specified country code. Acceptable codes include `US`, `CA`, and `MX` (Mexico).
72487250
use_cases:

0 commit comments

Comments
 (0)