Commit 95eefd2
authored
Split request and response schemas for external account paymentRails (#302)
## Summary
- Split the external account create request and response schemas so that `paymentRails` is only present in the response, not the request
- Each common `*AccountInfo.yaml` is now split into `*AccountInfoBase.yaml` (without `paymentRails`) and `*AccountInfo.yaml` (allOf composition with `paymentRails`)
- New `*ExternalAccountCreateInfo.yaml` schemas reference the Base variants (no `paymentRails`), while response schemas continue using the full `*AccountInfo.yaml`
- Request examples in endpoint files updated to remove `paymentRails`
## Test plan
- [x] `make build` passes - OpenAPI spec bundles successfully
- [x] `make lint-openapi` passes - validation reports `Your API description is valid`
- [ ] Verify generated docs render correctly with `make mint`
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent bff1629 commit 95eefd2
113 files changed
Lines changed: 4731 additions & 1817 deletions
File tree
- .stainless
- mintlify
- openapi
- components/schemas
- common
- external_accounts
- paths
- customers
- platform
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments