-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add challenge creation endpoint - remove passing `options.challenge` and `options.domain` to incorrect endpoints
- Loading branch information
Showing
5 changed files
with
115 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
openapi: 3.0.0 | ||
info: | ||
version: "0.0.3-unstable" | ||
title: VC API | ||
description: This is an Experimental Open API Specification for the [VC Data Model](https://www.w3.org/TR/vc-data-model/). | ||
license: | ||
name: W3C Software and Document License | ||
url: http://www.w3.org/Consortium/Legal/copyright-software. | ||
contact: | ||
name: GitHub Source Code | ||
url: https://github.com/w3c-ccg/vc-api | ||
paths: | ||
components: | ||
schemas: | ||
CreateChallengeResult: | ||
type: object | ||
additionalProperties: false | ||
description: Object containg a challenge | ||
properties: | ||
challenge: | ||
type: string | ||
description: The challenge value | ||
ChallengeVerificationMetadata: | ||
type: object | ||
additionalProperties: false | ||
description: Metadata about the verification of options.challenge. | ||
properties: | ||
verified: | ||
type: string | ||
description: Whether verification of the challenge was successful | ||
uses: | ||
type: string | ||
description: The number of times options.challenge has been used | ||
VerificationResultWithChallengeMetadata: | ||
type: object | ||
additionalProperties: false | ||
description: Object summarizing a verification | ||
properties: | ||
checks: | ||
type: array | ||
description: The checks performed | ||
items: | ||
type: string | ||
warnings: | ||
type: array | ||
description: Warnings | ||
items: | ||
type: string | ||
errors: | ||
type: array | ||
description: Errors | ||
items: | ||
type: string | ||
ChallengeVerificationMetadata: | ||
type: object | ||
additionalProperties: false | ||
description: Metadata about the verification of options.challenge. | ||
properties: | ||
verified: | ||
type: string | ||
description: Whether verification of the challenge was successful | ||
uses: | ||
type: string | ||
description: The number of times options.challenge has been used | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters