Skip to content

Commit

Permalink
Add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
peacekeeper committed Nov 25, 2024
1 parent 41ac876 commit 7c14db7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ paths:
schema:
type: object
description: A map of properties.
example:
indy:
libIndyPath: "/lib"
poolConfigs: "..."
"/methods":
get:
summary: Return a list of supported DID methods
Expand Down Expand Up @@ -374,6 +378,13 @@ paths:
schema:
type: object
description: A map of DID traits.
example:
indy:
updatable: true
deactivatable: true
enumerable: true
historyAvailable: true
humanReadable: false
components:
schemas:
RegistrarRequest:
Expand Down Expand Up @@ -511,6 +522,7 @@ components:
description: This input field contains Base64-encoded data that is the content of the
resource associated with the DID URL.
type: string
example: SGVsbG8gV29ybGQ=
UpdateResourceRequest:
description: Input fields for a DID URL update operation.
allOf:
Expand Down Expand Up @@ -544,6 +556,8 @@ components:
type: array
items:
type: string
example:
- SGVsbG8gV29ybGQ=
DeactivateResourceRequest:
description: Input fields for a DID URL deactivate operation.
allOf:
Expand Down

0 comments on commit 7c14db7

Please sign in to comment.