Skip to content

Commit

Permalink
feat(input-descriptor-to-credential): disabling NestJS Swagger CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
artursudnik committed Sep 25, 2023
1 parent a1daf8e commit 1e46a46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 35 deletions.
30 changes: 3 additions & 27 deletions apps/input-descriptor-to-credential/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,39 +58,15 @@
},
"required": ["constraints"]
},
"CredentialType": {
"type": "string",
"enum": ["VerifiableCredential", "VerifiablePresentation", "StatusList2021Credential", "EWFRole"]
},
"CredentialDto": {
"type": "object",
"properties": {
"@context": {
"type": "array",
"items": {
"type": "string"
}
},
"credentialSubject": {
"type": "object"
},
"id": {
"type": "string"
},
"issuanceDate": {
"type": "string"
},
"type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CredentialType"
}
},
"issuer": {
"type": "string"
"type": "string",
"enum": ["VerifiableCredential", "VerifiablePresentation", "StatusList2021Credential", "EWFRole"]
}
},
"required": ["@context", "credentialSubject", "id", "issuanceDate", "type", "issuer"]
"required": ["type"]
},
"InputDescriptorToCredentialResponseDto": {
"type": "object",
Expand Down
9 changes: 1 addition & 8 deletions apps/input-descriptor-to-credential/nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"plugins": [
{
"name": "@nestjs/swagger",
"options": {
"introspectComments": true
}
}
]
"plugins": []
}
}

0 comments on commit 1e46a46

Please sign in to comment.