From 5af5107091d2e4c9d450f3eefd72b081843ee310 Mon Sep 17 00:00:00 2001 From: Krishna Date: Tue, 7 May 2024 16:26:33 +0530 Subject: [PATCH] fix: example in DTO Signed-off-by: Krishna --- .../src/verification/dto/request-proof.dto.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/api-gateway/src/verification/dto/request-proof.dto.ts b/apps/api-gateway/src/verification/dto/request-proof.dto.ts index cf0642766..c1d27565e 100644 --- a/apps/api-gateway/src/verification/dto/request-proof.dto.ts +++ b/apps/api-gateway/src/verification/dto/request-proof.dto.ts @@ -202,15 +202,17 @@ export class RequestProofDto extends ProofPayload { @ApiProperty({ 'example': { - 'indy': [ - { + 'indy': { + 'attributes': [ + { attributeName: 'attributeName', condition: '>=', value: 'predicates', credDefId: 'string', schemaId: 'string' - } - ] + } + ] + } }, type: () => [IndyDto] })