From d4086e03cb5bdbf1dc2a76d93068ba034ab39874 Mon Sep 17 00:00:00 2001 From: Lokesh Chandra Date: Tue, 7 Apr 2026 13:23:11 +0530 Subject: [PATCH] docs(express): lightning init wallet v2 Ticket: WP-7002 --- .../express/src/typedRoutes/api/v2/lightningInitWallet.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/express/src/typedRoutes/api/v2/lightningInitWallet.ts b/modules/express/src/typedRoutes/api/v2/lightningInitWallet.ts index e5dc149be1..936c435327 100644 --- a/modules/express/src/typedRoutes/api/v2/lightningInitWallet.ts +++ b/modules/express/src/typedRoutes/api/v2/lightningInitWallet.ts @@ -8,7 +8,9 @@ import { BitgoExpressError } from '../../schemas/error'; * @property {string} walletId - The ID of the wallet. */ export const LightningInitWalletParams = { + /** A lightning coin name. */ coin: t.string, + /** The wallet ID. */ walletId: t.string, } as const; @@ -33,11 +35,10 @@ export const LightningInitWalletResponse = { } as const; /** - * Lightning - This is only used for self-custody lightning. Initialize a newly created Lightning Network Daemon (LND) for the first time. - * Returns the updated wallet with the encrypted admin macaroon in the `coinSpecific` response field. + * This is only used for self-custody lightning. Initialize a newly created Lightning Network Daemon (LND) for the first time. Returns the updated wallet with the encrypted admin macaroon in the coinSpecific response field. * * @operationId express.lightning.initWallet - * @tag express + * @tag Express */ export const PostLightningInitWallet = httpRoute({ path: '/api/v2/{coin}/wallet/{walletId}/initwallet',