From 66861a15ef3447880fadc539c8af33b27e190d76 Mon Sep 17 00:00:00 2001 From: Zaptoss Date: Thu, 1 Aug 2024 11:31:31 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=203ff18?= =?UTF-8?q?4ff9c25d61afba2d80833bf852eec5758ef=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi.json | 38 +++++++++++++------------------------- openapi.yaml | 36 +++++++++++++----------------------- 2 files changed, 26 insertions(+), 48 deletions(-) diff --git a/openapi.json b/openapi.json index fef342e..69b97ad 100644 --- a/openapi.json +++ b/openapi.json @@ -1261,14 +1261,14 @@ } } }, - "/integrations/geo-points-svc/v1/public/events/{id}/poll": { + "/integrations/geo-points-svc/v1/public/events/{id}/qrcode": { "patch": { "tags": [ "Events" ], - "summary": "Fulfill poll event", - "description": "Fulfill event for voting in Georgian poll by sending proof of voting", - "operationId": "fulfillPollEvent", + "summary": "Fulfill QR code event", + "description": "Fulfill QR code event", + "operationId": "fulfillQREvent", "parameters": [ { "in": "path", @@ -1291,7 +1291,7 @@ ], "properties": { "data": { - "$ref": "#/components/schemas/FulfillPollEvent" + "$ref": "#/components/schemas/FulfillQREvent" } } } @@ -1342,23 +1342,17 @@ } } }, - "/integrations/geo-points-svc/v1/public/events/{id}/qrcode": { - "patch": { + "/integrations/geo-points-svc/v1/public/events/poll": { + "post": { "tags": [ "Events" ], - "summary": "Fulfill QR code event", - "description": "Fulfill QR code event", - "operationId": "fulfillQREvent", - "parameters": [ + "summary": "Fulfill poll event", + "description": "Fulfill event for voting in Georgian poll by sending proof of voting", + "operationId": "fulfillPollEvent", + "security": [ { - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string", - "example": "059c81dd-2a54-44a8-8142-c15ad8f88949" - } + "BearerAuth": [] } ], "requestBody": { @@ -1372,7 +1366,7 @@ ], "properties": { "data": { - "$ref": "#/components/schemas/FulfillQREvent" + "$ref": "#/components/schemas/FulfillPollEvent" } } } @@ -2040,15 +2034,9 @@ "FulfillPollEventKey": { "type": "object", "required": [ - "id", "type" ], "properties": { - "id": { - "type": "string", - "description": "Event ID", - "example": "059c81dd-2a54-44a8-8142-c15ad8f88949" - }, "type": { "type": "string", "enum": [ diff --git a/openapi.yaml b/openapi.yaml index 764d432..429a614 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -850,13 +850,13 @@ paths: $ref: '#/components/responses/notFound' '500': $ref: '#/components/responses/internalError' - '/integrations/geo-points-svc/v1/public/events/{id}/poll': + '/integrations/geo-points-svc/v1/public/events/{id}/qrcode': patch: tags: - Events - summary: Fulfill poll event - description: Fulfill event for voting in Georgian poll by sending proof of voting - operationId: fulfillPollEvent + summary: Fulfill QR code event + description: Fulfill QR code event + operationId: fulfillQREvent parameters: - in: path name: id @@ -874,7 +874,7 @@ paths: - data properties: data: - $ref: '#/components/schemas/FulfillPollEvent' + $ref: '#/components/schemas/FulfillQREvent' responses: '200': description: Success @@ -901,20 +901,15 @@ paths: $ref: '#/components/responses/notFound' '500': $ref: '#/components/responses/internalError' - '/integrations/geo-points-svc/v1/public/events/{id}/qrcode': - patch: + /integrations/geo-points-svc/v1/public/events/poll: + post: tags: - Events - summary: Fulfill QR code event - description: Fulfill QR code event - operationId: fulfillQREvent - parameters: - - in: path - name: id - required: true - schema: - type: string - example: 059c81dd-2a54-44a8-8142-c15ad8f88949 + summary: Fulfill poll event + description: Fulfill event for voting in Georgian poll by sending proof of voting + operationId: fulfillPollEvent + security: + - BearerAuth: [] requestBody: required: true content: @@ -925,7 +920,7 @@ paths: - data properties: data: - $ref: '#/components/schemas/FulfillQREvent' + $ref: '#/components/schemas/FulfillPollEvent' responses: '200': description: Success @@ -1412,13 +1407,8 @@ components: FulfillPollEventKey: type: object required: - - id - type properties: - id: - type: string - description: Event ID - example: 059c81dd-2a54-44a8-8142-c15ad8f88949 type: type: string enum: