Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

414 problem details response #418

Merged
merged 15 commits into from
Oct 22, 2024
Merged

414 problem details response #418

merged 15 commits into from
Oct 22, 2024

Conversation

PatStLouis
Copy link
Collaborator

@PatStLouis PatStLouis commented Sep 10, 2024

  • Created a new ProblemDetails object.
  • Modified the credentials/verify options and response

Preview | Diff

description: The verified credential
example: { "checks": ["proof"], "warnings": [], "errors": [] }
description: The verified credential used as the verification payload.
example: { "verified": True, "results": {"credentialSchema": [], "credentialStatus": [], "proof": []}, "warnings": [], "errors": [] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
example: { "verified": True, "results": {"credentialSchema": [], "credentialStatus": [], "proof": []}, "warnings": [], "errors": [] }
example: { "verified": true, "results": {"credentialSchema": [], "credentialStatus": [], "proof": []}, "warnings": [], "errors": [] }

components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
components/VerifyCredentialResult.yml Outdated Show resolved Hide resolved
An issue was also mentioned about the error type `https://www.w3.org/TR/vc-data-model#PARSING_ERROR` not resulting in any meaningful destination/description.

Co-authored-by: Ted Thibodeau Jr <[email protected]>
PatStLouis and others added 4 commits September 24, 2024 13:00
Since warning and errors are designed to be an array of ProblemDetails objects, it would simplify to combine these 2 properties into a single problemDetails array in some cases.

Co-authored-by: Manu Sporny <[email protected]>
…s to disambiguate form the problemDetails object

Signed-off-by: pstlouis <[email protected]>
index.html Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants