Skip to content

Commit

Permalink
fix swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
DaevMithran committed Sep 23, 2024
1 parent e9b4bb0 commit 6f1ceab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/static/swagger-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -669,17 +669,17 @@
]
},
"required": [
"issuerDid",
"subjectDid",
"schemas"
],
"example": {
"issuerDid": "did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0",
"subjectDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
"attributes": {
"gender": "male",
"name": "Bob"
},
"schemas": [
{
"type": "MuseumPassCredential",
"url": "https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:0a5b94d0-a417-48ed-a6f5-4abc9e95888d?resourceName=MuseumPassCredentialSchema&resourceType=JsonSchemaValidator2018"
}
],
"@context": [
"https://schema.org"
],
Expand Down
8 changes: 3 additions & 5 deletions src/types/swagger-api-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,13 @@
* - verida
* - resource
* required:
* - issuerDid
* - subjectDid
* - schemas
* example:
* issuerDid: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
* subjectDid: did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK
* attributes:
* gender: male
* name: Bob
* schemas:
* - type: MuseumPassCredential
* url: https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:0a5b94d0-a417-48ed-a6f5-4abc9e95888d?resourceName=MuseumPassCredentialSchema&resourceType=JsonSchemaValidator2018
* '@context':
* - https://schema.org
* type:
Expand Down

0 comments on commit 6f1ceab

Please sign in to comment.