Skip to content

Commit

Permalink
docs: update readme for vc api
Browse files Browse the repository at this point in the history
Signed-off-by: Nam Hoang <hoangxuannam160493@gmail.com>
  • Loading branch information
namhoang1604 committed Jun 26, 2023
1 parent b410589 commit 5e6de6e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/vc-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@

```jsx
# API base path
- - /issuer
- $require: '@vckit/vc-api-issuer?t=function#AgentRouter'
- - $require: '@vckit/vc-api?t=function#HolderRouter'
- - $require: '@vckit/vc-api?t=function#IssuerRouter'
$args:
- createCredential: createVerifiableCredential
updateCredentialStatus: updateVerifiableCredentialStatus
# VC API docs path
- - /vc-api.json
- $require: '@vckit/vc-api?t=function#VCApiSchemaRouter'
$args:
- basePath: :3332

- - /vc-api-docs
- $require: '@vckit/vc-api?t=function#VCApiDocsRouter'
```

## Test with test-suite
Expand Down

0 comments on commit 5e6de6e

Please sign in to comment.