Commit a79ac8b
fix: make platformCustomerId optional in Kotlin sample (#348)
## Summary
- Update Kotlin sample to treat `platformCustomerId` as optional,
syncing with schema change from #345
- Remove unused `requireText` import
## Context
The schema change in #345 made `platformCustomerId` optional on customer
creation (if not provided, one is auto-generated). The Mintlify docs
were updated in that same PR, but the Kotlin sample still used
`requireText()` which would throw an error if the field was missing.
## Test plan
- [ ] Verify Kotlin sample compiles
- [ ] Test customer creation without `platformCustomerId` in request
body
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 285910b commit a79ac8b
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | 28 | | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
0 commit comments