From 64fdfe8a6d5d6a76ec632db00e9409f4f3ef3335 Mon Sep 17 00:00:00 2001 From: Sayan kar Date: Thu, 13 Nov 2025 16:07:29 +0530 Subject: [PATCH 1/2] chore: fix listblockchains response schema to make evmChainId optional --- chainkit/overlays/overlay.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/chainkit/overlays/overlay.yaml b/chainkit/overlays/overlay.yaml index 4d49c527..93bd1989 100644 --- a/chainkit/overlays/overlay.yaml +++ b/chainkit/overlays/overlay.yaml @@ -17,6 +17,17 @@ actions: description: Remove the unused schema remove: true + - target: $["components"]["schemas"]["Blockchain"] + description: Update the required fields from the Blockchain schema to make evmChainId optional, remove once glacier is merged + update: + required: + - "createBlockTimestamp" + - "createBlockNumber" + - "blockchainId" + - "vmId" + - "subnetId" + - "blockchainName" + - target: $.info description: Add a description to the OpenAPI spec update: From 85a1da355dc5f494cf9d6ab0e4ddd99d4b3386af Mon Sep 17 00:00:00 2001 From: Sayan kar Date: Thu, 13 Nov 2025 16:20:28 +0530 Subject: [PATCH 2/2] chore: fix update strategy --- chainkit/overlays/overlay.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/chainkit/overlays/overlay.yaml b/chainkit/overlays/overlay.yaml index 93bd1989..a09a01c7 100644 --- a/chainkit/overlays/overlay.yaml +++ b/chainkit/overlays/overlay.yaml @@ -17,16 +17,9 @@ actions: description: Remove the unused schema remove: true - - target: $["components"]["schemas"]["Blockchain"] + - target: $["components"]["schemas"]["Blockchain"]["required"][?(@ == "evmChainId")] description: Update the required fields from the Blockchain schema to make evmChainId optional, remove once glacier is merged - update: - required: - - "createBlockTimestamp" - - "createBlockNumber" - - "blockchainId" - - "vmId" - - "subnetId" - - "blockchainName" + remove: true - target: $.info description: Add a description to the OpenAPI spec