From 3589fb3fd09cac407fa98c601728a30b41549197 Mon Sep 17 00:00:00 2001 From: wes-smith Date: Tue, 12 Mar 2024 14:26:43 -0400 Subject: [PATCH] Apply changes from code review to formatting, property naming, and endpoint description. Co-authored-by: Dave Longley Co-authored-by: Ted Thibodeau Jr --- components/Challenge.yml | 2 +- holder.yml | 2 +- index.html | 2 +- verifier.yml | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/Challenge.yml b/components/Challenge.yml index 0b800a7..6393dcf 100644 --- a/components/Challenge.yml +++ b/components/Challenge.yml @@ -28,7 +28,7 @@ components: verified: type: string description: Whether verification of the challenge was successful - firstVerified: + firstVerifiedAt: type: string description: dateTimeStamp when the challenge was first verified. uses: diff --git a/holder.yml b/holder.yml index 9cbc6ee..46e8f77 100644 --- a/holder.yml +++ b/holder.yml @@ -268,7 +268,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ProvePresentationResponse" + $ref: "#/components/schemas/ProvePresentationResponse" "400": description: invalid input! "500": diff --git a/index.html b/index.html index dc0466f..9acef6c 100644 --- a/index.html +++ b/index.html @@ -729,7 +729,7 @@

Create Challenge

-The instance should create a challenge for use during verification and it should keep track of the number of times a challenge has been passed to verification endpoints as `options.challenge`. +The instance should create a challenge for use during verification, and track the number of times the challenge has been passed to verification endpoints as `options.challenge`.

diff --git a/verifier.yml b/verifier.yml index fcf3551..24f8289 100644 --- a/verifier.yml +++ b/verifier.yml @@ -62,11 +62,11 @@ paths: description: Parameters for verifying a verifiablePresentation. responses: "200": - description: Verifiable Presentation successfully verified! - content: - application/json: - schema: - $ref: "#/components/schemas/VerifyPresentationResponse" + description: Verifiable Presentation successfully verified! + content: + application/json: + schema: + $ref: "#/components/schemas/VerifyPresentationResponse" "400": description: Invalid or malformed input