Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3ff184f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Aug 1, 2024
1 parent 3dd5f4c commit 66861a1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 48 deletions.
38 changes: 13 additions & 25 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -1291,7 +1291,7 @@
],
"properties": {
"data": {
"$ref": "#/components/schemas/FulfillPollEvent"
"$ref": "#/components/schemas/FulfillQREvent"
}
}
}
Expand Down Expand Up @@ -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": {
Expand All @@ -1372,7 +1366,7 @@
],
"properties": {
"data": {
"$ref": "#/components/schemas/FulfillQREvent"
"$ref": "#/components/schemas/FulfillPollEvent"
}
}
}
Expand Down Expand Up @@ -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": [
Expand Down
36 changes: 13 additions & 23 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -874,7 +874,7 @@ paths:
- data
properties:
data:
$ref: '#/components/schemas/FulfillPollEvent'
$ref: '#/components/schemas/FulfillQREvent'
responses:
'200':
description: Success
Expand All @@ -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:
Expand All @@ -925,7 +920,7 @@ paths:
- data
properties:
data:
$ref: '#/components/schemas/FulfillQREvent'
$ref: '#/components/schemas/FulfillPollEvent'
responses:
'200':
description: Success
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 66861a1

Please sign in to comment.