Skip to content

Commit

Permalink
Deploying to gh-pages from @ ba240c1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Sep 13, 2024
1 parent f5527db commit 7723729
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
14 changes: 4 additions & 10 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"User form"
],
"summary": "Submit user answers",
"description": "Sending the filled form. Requires created empty form\nlinked to the name of the file with the photo. \n\nThe image is a link to s3 storage \n",
"description": "Sending the filled form. Requires created empty form\nlinked to the name of the file with the photo. \n\nOnly a user with a confirmed passport can send the form ('verified: true' in JWT).\n\nThe image is a link to s3 storage \n",
"operationId": "lightweightSubmitForm",
"security": [
{
Expand Down Expand Up @@ -91,7 +91,7 @@
"tags": [
"User form"
],
"summary": "Submit user answers",
"summary": "Legacy submit user answers",
"description": "Send user answers and return their current status.\n\nThe image is a base64 string.\n\nOnly a user with a confirmed passport can send the form ('verified: true' in JWT).\nThere is a configurable delay before the same user\ncan submit another form.\n",
"operationId": "submitForm",
"security": [
Expand Down Expand Up @@ -243,8 +243,8 @@
"tags": [
"User form"
],
"summary": "Get market",
"description": "Get single market",
"summary": "Get image",
"description": "Creates a signed link to an image that is stored in the storage and then redirects to that link.",
"parameters": [
{
"$ref": "#/components/parameters/pathID"
Expand Down Expand Up @@ -365,12 +365,6 @@
}
}
},
"400": {
"$ref": "#/components/responses/invalidParameter"
},
"401": {
"$ref": "#/components/responses/invalidAuth"
},
"404": {
"$ref": "#/components/responses/notFound"
},
Expand Down
12 changes: 5 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ paths:
Sending the filled form. Requires created empty form
linked to the name of the file with the photo.
Only a user with a confirmed passport can send the form ('verified: true' in JWT).
The image is a link to s3 storage
operationId: lightweightSubmitForm
security:
Expand Down Expand Up @@ -60,7 +62,7 @@ paths:
post:
tags:
- User form
summary: Submit user answers
summary: Legacy submit user answers
description: |
Send user answers and return their current status.
Expand Down Expand Up @@ -167,8 +169,8 @@ paths:
get:
tags:
- User form
summary: Get market
description: Get single market
summary: Get image
description: Creates a signed link to an image that is stored in the storage and then redirects to that link.
parameters:
- $ref: '#/components/parameters/pathID'
- in: query
Expand Down Expand Up @@ -244,10 +246,6 @@ paths:
properties:
data:
$ref: '#/components/schemas/Form'
'400':
$ref: '#/components/responses/invalidParameter'
'401':
$ref: '#/components/responses/invalidAuth'
'404':
$ref: '#/components/responses/notFound'
'500':
Expand Down

0 comments on commit 7723729

Please sign in to comment.