Skip to content

Commit

Permalink
update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Nov 14, 2024
1 parent c06939c commit 56acd4b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions app/routes/wallet/dids.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@ async def create_did(
The `method` parameter is optional and can be set to 'key',
'sov', `web`, `did:peer:2` or `did:peer:4`.
The options field is deprecated it has been flattened and the `did` and
`key_type` fields are now top level fields. The `options` field will still
take precedence over the top level fields if it is present.
Request body:
---
DIDCreate:
method: Optional[str]
options: Optional[DIDCreateOptions]
seed: Optional[str]
key_type: Optional[str]
did: Optional[str]
DIDCreate Optional:
method: [str]
options: [DIDCreateOptions]
seed: [str]
key_type: [str]
did: [str]
Response:
---
Expand Down

0 comments on commit 56acd4b

Please sign in to comment.