Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,31 @@ paths:
$ref: "#/components/schemas/DereferencingResult"
"400":
description: Invalid DID or DID URL.
content:
application/did-resolution:
schema:
$ref: "#/components/schemas/ResolutionResult"
application/did-url-dereferencing:
schema:
$ref: "#/components/schemas/DereferencingResult"
"404":
description: DID or DID URL not found.
content:
application/did-resolution:
schema:
$ref: "#/components/schemas/ResolutionResult"
application/did-url-dereferencing:
schema:
$ref: "#/components/schemas/DereferencingResult"
"406":
description: Representation not supported.
content:
application/did-resolution:
schema:
$ref: "#/components/schemas/ResolutionResult"
application/did-url-dereferencing:
schema:
$ref: "#/components/schemas/DereferencingResult"
"410":
description: Successfully resolved, but DID is deactivated.
content:
Expand All @@ -168,8 +189,22 @@ paths:
$ref: "#/components/schemas/DereferencingResult"
"500":
description: Internal Error.
content:
application/did-resolution:
schema:
$ref: "#/components/schemas/ResolutionResult"
application/did-url-dereferencing:
schema:
$ref: "#/components/schemas/DereferencingResult"
"501":
description: DID method not supported.
content:
application/did-resolution:
schema:
$ref: "#/components/schemas/ResolutionResult"
application/did-url-dereferencing:
schema:
$ref: "#/components/schemas/DereferencingResult"
components:
schemas:
ResolutionOptions:
Expand Down Expand Up @@ -271,4 +306,4 @@ components:
type: string
instance:
type: string
additionalProperties: { }
additionalProperties: { }