-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'vc-issuance-platform' into DIV-8621
- Loading branch information
Showing
8 changed files
with
734 additions
and
5 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
backend/vc-certification-service/certification-service-swagger.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
openapi: '3.0.0' | ||
info: | ||
version: 1.0.0 | ||
title: VC certification | ||
description: verifiable credentials certification service | ||
consumes: | ||
- application/json | ||
produces: | ||
- application/json | ||
paths: | ||
/v1/certify/{entityType}: | ||
post: | ||
tags: | ||
- certification | ||
summary: Certify event of given entityType | ||
operationId: certifyVC | ||
parameters: | ||
- name: entityType | ||
in: path | ||
required: true | ||
type: string | ||
- in: body | ||
name: body | ||
required: true | ||
schema: | ||
type: object | ||
responses: | ||
'200': | ||
description: OK | ||
schema: | ||
$ref: '#/definitions/CertificationSuccess' | ||
'400': | ||
description: Invalid input | ||
schema: | ||
$ref: '#/definitions/Error' | ||
'401': | ||
description: Unauthorized | ||
schema: | ||
$ref: '#/definitions/Error' | ||
'500': | ||
description: Internal server error | ||
schema: | ||
$ref: '#/definitions/Error' | ||
definitions: | ||
CertificationSuccess: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
certificateAddResponse: | ||
type: object | ||
properties: | ||
params: | ||
type: object | ||
properties: | ||
msgid: | ||
type: string | ||
status: | ||
type: string | ||
result: | ||
type: object | ||
properties: | ||
osid: | ||
type: string | ||
Error: | ||
type: object | ||
properties: | ||
code: | ||
type: string | ||
message: | ||
type: string | ||
host: divoc.xiv.in | ||
schemes: | ||
- https | ||
basePath: /vc-certification/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.