From a16f3d899abc362e342d27f4aeb20950ef68846c Mon Sep 17 00:00:00 2001 From: Pat Losoponkul Date: Fri, 15 Dec 2023 13:17:42 +0700 Subject: [PATCH] fix: correct OAS example Signed-off-by: Pat Losoponkul --- .../issue/controller/http/IssueCredentialRecord.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala b/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala index 704ba3f662..2816a9c38a 100644 --- a/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala +++ b/prism-agent/service/server/src/main/scala/io/iohk/atala/issue/controller/http/IssueCredentialRecord.scala @@ -115,11 +115,11 @@ object IssueCredentialRecord { ) object claims - extends Annotation[Map[String, String]]( + extends Annotation[zio.json.ast.Json]( description = "The claims that will be associated with the issued verifiable credential.", - example = Map( - "firstname" -> "Alice", - "lastname" -> "Wonderland" + example = zio.json.ast.Json.Obj( + "firstname" -> zio.json.ast.Json.Str("Alice"), + "lastname" -> zio.json.ast.Json.Str("Wonderland"), ) )