Skip to content

Commit

Permalink
Minor updates to OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
peacekeeper committed Apr 7, 2024
1 parent d8e472a commit e80376e
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions swagger/openapi.yaml → openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ paths:
"/identifiers/{identifier}":
get:
summary: Resolve a DID / Dereference a DID URL
description: <p>This blabla endpoint resolves a DID. As input it takes the DID, plus
description: <p>This endpoint resolves a DID. As input it takes the DID, plus
DID resolution <a href="https://www.w3.org/TR/did-core/#did-resolution-options">options</a>.
The output is a DID document in one of the supported representations, plus
metadata. The same endpoint can also be used to dereference a DID URL. In
Expand Down Expand Up @@ -90,7 +90,7 @@ paths:
publicKeyBase58: H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV
application/ld+json;profile="https://w3id.org/did-resolution":
schema:
"$ref": "#/components/schemas/ResolutionResult"
$ref: "#/components/schemas/ResolutionResult"
'400':
description: Invalid DID or DID URL.
'404':
Expand All @@ -110,16 +110,16 @@ paths:
description: The deactivated DID document (JSON-LD representation).
application/ld+json;profile="https://w3id.org/did-resolution":
schema:
"$ref": "#/components/schemas/ResolutionResult"
$ref: "#/components/schemas/ResolutionResult"
'500':
description: Internal Error.
'501':
description: DID method not supported.
"/properties":
get:
summary: Return a map of configuration properties
description: "<p>This endpoint returns a map of the configuration properties
of the DID Resolver, including of its drivers.</p>"
description: <p>This endpoint returns a map of the configuration properties
of the DID Resolver, including of its drivers.</p>
operationId: universalResolverGetProperties
tags:
- Universal Resolver
Expand All @@ -134,8 +134,8 @@ paths:
"/methods":
get:
summary: Return a list of supported DID methods
description: "<p>This endpoint returns a list of DID methods supported by the
DID Resolver.</p>"
description: <p>This endpoint returns a list of DID methods supported by the
DID Resolver.</p>
operationId: universalResolverGetMethods
tags:
- Universal Resolver
Expand All @@ -157,8 +157,8 @@ paths:
"/testIdentifiers":
get:
summary: Return a map of test identifiers
description: "<p>This endpoint returns a map of test identifiers, grouped by
DID method.</p>"
description: <p>This endpoint returns a map of test identifiers, grouped by
DID method.</p>
operationId: universalResolverGetTestIdentifiers
tags:
- Universal Resolver
Expand All @@ -181,7 +181,6 @@ components:
ResolutionResult:
description: The DID resolution result.
type: object
additionalProperties: false
properties:
didDocument:
type: object
Expand Down

0 comments on commit e80376e

Please sign in to comment.