From 958e1c3f224238ee9d77032d7dbe6d0fcee701a2 Mon Sep 17 00:00:00 2001 From: Daniel Dimitrov Date: Tue, 26 Nov 2024 10:37:26 +0100 Subject: [PATCH] fix: swagger return type for getSafeOverview missing --- src/routes/safes/safes.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/safes/safes.controller.ts b/src/routes/safes/safes.controller.ts index 516955a47d..41097b9319 100644 --- a/src/routes/safes/safes.controller.ts +++ b/src/routes/safes/safes.controller.ts @@ -51,6 +51,7 @@ export class SafesController { @ApiQuery({ name: 'trusted', required: false, type: Boolean }) @ApiQuery({ name: 'exclude_spam', required: false, type: Boolean }) @Get('safes') + @ApiOkResponse({ type: SafeOverview, isArray: true }) async getSafeOverview( @Query('currency') currency: string, @Query('safes', new ValidationPipe(Caip10AddressesSchema))