From 5855bccce99bf69d2dd7ca3c36017ee45c95fbcf Mon Sep 17 00:00:00 2001 From: kphurley7 Date: Mon, 13 Jul 2026 20:08:44 -0500 Subject: [PATCH] Make PaymentSparkWalletInfo.assetType a free-form currency code Drop the closed BTC/USDB enum on assetType so it can carry any configured Spark token currency code, and update the description to match. The valid set is now per-environment runtime config (the Spark token registry), which a static schema enum can't express. The generated side of this change already landed in webdev (lightsparkdev/webdev#28745); this brings the grid-api source spec (and the bundled openapi.yaml / mintlify/openapi.yaml) into sync. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01PuNSpq8PKF6p1NK6z2gqBU --- mintlify/openapi.yaml | 5 +---- openapi.yaml | 5 +---- .../components/schemas/common/PaymentSparkWalletInfo.yaml | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index e4bea8865..476be1e8d 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -11565,10 +11565,7 @@ components: properties: assetType: type: string - description: Type of asset - enum: - - BTC - - USDB + description: Type of asset or configured Spark token currency code invoice: type: string description: Invoice for the payment diff --git a/openapi.yaml b/openapi.yaml index e4bea8865..476be1e8d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -11565,10 +11565,7 @@ components: properties: assetType: type: string - description: Type of asset - enum: - - BTC - - USDB + description: Type of asset or configured Spark token currency code invoice: type: string description: Invoice for the payment diff --git a/openapi/components/schemas/common/PaymentSparkWalletInfo.yaml b/openapi/components/schemas/common/PaymentSparkWalletInfo.yaml index c4b0021c1..ee2bcc79b 100644 --- a/openapi/components/schemas/common/PaymentSparkWalletInfo.yaml +++ b/openapi/components/schemas/common/PaymentSparkWalletInfo.yaml @@ -8,10 +8,7 @@ allOf: properties: assetType: type: string - description: Type of asset - enum: - - BTC - - USDB + description: Type of asset or configured Spark token currency code invoice: type: string description: Invoice for the payment