Skip to content

Commit ee5c472

Browse files
committed
feat: credential path changes
Signed-off-by: Tipu_Singh <[email protected]>
1 parent 69b6685 commit ee5c472

File tree

4 files changed

+353
-283
lines changed

4 files changed

+353
-283
lines changed

apps/api-gateway/src/oid4vc-issuance/dtos/oid4vc-issuer-template.dto.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ export class CreateCredentialTemplateDto {
168168
canBeRevoked = false;
169169

170170
@ApiProperty({
171-
type: 'object',
172-
additionalProperties: { $ref: getSchemaPath(CredentialAttributeDto) },
171+
type: 'array',
172+
items: { $ref: getSchemaPath(CredentialAttributeDto) },
173173
description: 'Attributes included in the credential template'
174174
})
175-
@IsObject()
175+
@IsArray()
176176
attributes: CredentialAttributeDto[];
177177

178178
@ApiProperty({

0 commit comments

Comments
 (0)