diff --git a/prism-agent/service/server/src/main/scala/io/iohk/atala/api/http/codec/DIDCodec.scala b/prism-agent/service/server/src/main/scala/io/iohk/atala/api/http/codec/DIDCodec.scala index dc2a566eb8..6ccdc8a30d 100644 --- a/prism-agent/service/server/src/main/scala/io/iohk/atala/api/http/codec/DIDCodec.scala +++ b/prism-agent/service/server/src/main/scala/io/iohk/atala/api/http/codec/DIDCodec.scala @@ -18,9 +18,9 @@ object DIDCodec { def emptyDidJsonLD: Codec[String, DIDResolutionResult, DIDJsonLD] = didJsonLD.schema(_ => - Schema.schemaForByteArray + Schema.schemaForString .description("Empty representation") - .encodedExample(Array.emptyByteArray) + .encodedExample("") .as )