You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Review `samples/kotlin/src/main/kotlin/com/grid/sample/routes/` for route handlers that reference changed schemas
128
+
- Check that request body construction matches current OpenAPI schemas (field names, required fields, enum values)
129
+
- Verify external account creation handlers support all current `ExternalAccountType` enum values from `openapi/components/schemas/external_accounts/ExternalAccountType.yaml`
130
+
- Check that webhook handling in `Webhooks.kt` matches current webhook schemas
131
+
- Check that quote creation in `Quotes.kt` includes all required fields
132
+
- Verify SDK method calls match the schema structure (e.g., beneficiary nested inside accountInfo, paymentRails included)
133
+
134
+
5. **Check Grid Visualizer Data**
135
+
- Review `components/grid-visualizer/src/data/account-types.ts` — account type keys and field specs must match `ExternalAccountType` enum values and their corresponding `*AccountInfo.yaml` schemas in `openapi/components/schemas/common/`
136
+
- Review `components/grid-visualizer/src/data/currencies.ts` — `accountType` values must match `ExternalAccountType` enum, `allRails` and `instantRails` must match the `paymentRails` enum values in each account info schema
137
+
- Review `components/grid-visualizer/src/data/crypto.ts` — crypto account types must match wallet types in the ExternalAccountType enum
138
+
- Review `components/grid-visualizer/src/lib/code-generator.ts` — generated API call bodies must match current request schemas (e.g., `accountInfo` structure, `paymentRails` inclusion, beneficiary format)
139
+
140
+
6. **Check for Outdated References**
127
141
- Look for hardcoded field names that may have changed
128
142
- Check for endpoint paths that may have been renamed
129
143
- Verify response structure descriptions match the schema
130
144
131
145
### Actions
132
146
133
-
If documentation updates are needed:
134
-
1. Make the necessary changes to keep docs in sync
147
+
If updates are needed in any area (docs, Kotlin sample, or Grid Visualizer):
148
+
1. Make the necessary changes to keep everything in sync with the OpenAPI schema
135
149
2. Run `npm run build:openapi` if you modified any files in `openapi/`
136
-
3. Create a PR with:
150
+
3. Create a single PR with all changes:
137
151
- Branch name: `docs/sync-$(date +%Y%m%d)`
138
152
- Clear title describing the sync
139
-
- Description listing what was updated and why
153
+
- Description listing what was updated and why, organized by area (docs, Kotlin sample, Grid Visualizer)
140
154
141
-
If documentation is already up to date:
155
+
If everything is already up to date:
142
156
- Output a brief summary confirming no updates needed
0 commit comments