Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nandhu-kumar committed Sep 17, 2024
2 parents 8146ee0 + ab9b25c commit 9b3f094
Showing 1 changed file with 52 additions and 29 deletions.
81 changes: 52 additions & 29 deletions docs/stoplight/mimoto_openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2410,42 +2410,62 @@
"summary": "Get Issuers Wellknown"
}
},
"/issuers/{issuer-id}/credentials/{credentialType}/download": {
"get": {
"operationId": "generatePdfForVC",
"parameters": [
{
"name": "Bearer",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "issuer-id",
"in": "path",
"required": true,
"schema": {
"type": "string"
"/credentials/download": {
"post": {
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"grant_type": {
"type": "string",
"example": "authorization_code"
},
"code": {
"type": "string",
"example": "GL9N1V-authorizationcodeyBkoaonjplms"
},
"redirect_uri": {
"type": "string",
"example": "https://injiweb.collab.mosip.net/redirect"
},
"code_verifier": {
"type": "string",
"example": "Sq6nZNToevcodeVerifierjXw70LCJ"
},
"issuer": {
"type": "string",
"example": "Mosip"
},
"credential": {
"type": "string",
"example": "MosipVerifiableCredential"
}
}
}
}
},
{
"name": "credentialType",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"required": true
},
"tags": [
"Trusted Issuers"
],
"description": "This API is responsible for generating PDFs for the received VC content. It fetches display properties from the well-known configuration of the issuer and incorporates them into the predefined template of the PDF file.",
"responses": {
"200": {
"description": "OK",
"content": {
"application/pdf": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
},
"400": {
"description": "BAD_REQUEST",
"content": {
"application/pdf": {
"schema": {
Expand Down Expand Up @@ -2506,7 +2526,10 @@
}
}
},
"summary": "Download Credential As PDF"
"summary": "Download Credential As PDF",
"x-stoplight": {
"id": "42bjevdfa0stx"
}
}
},
"/authorize": {
Expand Down Expand Up @@ -2742,4 +2765,4 @@
}
},
"x-internal": true
}
}

0 comments on commit 9b3f094

Please sign in to comment.