Skip to content

Commit

Permalink
fix: correct OAS examples (#810)
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Losoponkul <[email protected]>
Signed-off-by: Shota Jolbordi <[email protected]>
  • Loading branch information
patlo-iog authored and Shota Jolbordi committed Mar 18, 2024
1 parent 36d1097 commit 77d508a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ object Service {
)

object `type`
extends Annotation[ServiceType](
extends Annotation[String](
description =
"Service type. Can contain multiple possible values as described in the [Create DID operation](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#create-did) under the construction section.",
example = ServiceType.Single("LinkedDomains")
example = "LinkedDomains"
)

object serviceEndpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ object CreateIssueCredentialRecordRequest {
)

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"),
)
)

Expand Down

0 comments on commit 77d508a

Please sign in to comment.