fix(config): flatten platform fee config fixedFee to a plain integer amount - #785
Conversation
…amount The fixed fee currency is always implied by the fee config's sourceCurrency, so the nested CurrencyAmount object was redundant. fixedFee is now the amount in the smallest unit of the source currency. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
✱ Stainless preview builds for gridThis PR will update the cli go kotlin openapi php python ruby typescript ✅ grid-ruby studio · code
|
…_fixedfee_to_a_plain_integer_amount
Greptile SummaryUpdates the platform fee configuration contract to represent
Confidence Score: 5/5The PR appears safe to merge, with the source schema and both generated bundles consistently representing the intended flattened fee amount. The changed contract is applied consistently, the integer constraints match existing smallest-unit monetary conventions, and the generated bundle reordering preserves all remaining shared-schema references.
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/config/FeeConfig.yaml | Changes fixedFee from a currency-bearing object to a nonnegative int64 whose currency is implied by sourceCurrency. |
| openapi.yaml | Correctly reflects the source schema change in the generated OpenAPI bundle; relocated shared schemas remain present and referenced. |
| mintlify/openapi.yaml | Remains synchronized with the root generated bundle for local Mintlify API-reference rendering. |
Reviews (1): Last reviewed commit: "fix(config): flatten platform fee config..." | Re-trigger Greptile
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|

The fixed fee currency is always implied by the fee config's sourceCurrency,
so the nested CurrencyAmount object was redundant. fixedFee is now the amount
in the smallest unit of the source currency.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com