2022-06-27 06:32:28 +00:00
|
|
|
{
|
|
|
|
|
"openapi": "3.0.0",
|
|
|
|
|
"info": {
|
2022-07-01 06:05:41 +00:00
|
|
|
"title": "Legalization API",
|
2022-07-08 09:40:16 +00:00
|
|
|
"version": "1.0.0"
|
2022-06-27 06:32:28 +00:00
|
|
|
},
|
|
|
|
|
"paths": {
|
|
|
|
|
"/api/login": {
|
|
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
2022-06-30 14:55:51 +00:00
|
|
|
"Authorization"
|
2022-06-27 06:32:28 +00:00
|
|
|
],
|
|
|
|
|
"summary": " - Login user",
|
|
|
|
|
"operationId": "a3b306d14572d1f4bd6c064b3233e7b8",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-06-27 06:32:28 +00:00
|
|
|
"requestBody": {
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object",
|
|
|
|
|
"example": {
|
|
|
|
|
"email": "ilmedovamahri@gmail.com",
|
2022-06-30 14:55:51 +00:00
|
|
|
"password": 12345678
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
2022-07-07 14:19:10 +00:00
|
|
|
"description": "OK",
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-27 06:32:28 +00:00
|
|
|
},
|
|
|
|
|
"401": {
|
2022-07-07 14:19:10 +00:00
|
|
|
"description": "Unauthorized",
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/api/register": {
|
|
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
2022-06-30 14:55:51 +00:00
|
|
|
"Authorization"
|
2022-06-27 06:32:28 +00:00
|
|
|
],
|
|
|
|
|
"summary": " - Register user",
|
|
|
|
|
"operationId": "8a56853624e025573120a09a4c75d468",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-06-27 06:32:28 +00:00
|
|
|
"requestBody": {
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"firstname": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"lastname": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"type": "string"
|
2022-07-14 10:49:06 +00:00
|
|
|
},
|
|
|
|
|
"account_type": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"country": {
|
|
|
|
|
"type": "integer"
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object",
|
|
|
|
|
"example": {
|
|
|
|
|
"firstname": "Mahri",
|
|
|
|
|
"lastname": "Ilmedova",
|
|
|
|
|
"email": "ilmedovamahri@gmail.com",
|
2022-07-14 10:49:06 +00:00
|
|
|
"password": 12345678,
|
|
|
|
|
"country": 1,
|
|
|
|
|
"account_type": "business"
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"responses": {
|
2022-07-07 14:19:10 +00:00
|
|
|
"201": {
|
|
|
|
|
"description": "OK",
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"token": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"client": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"id": {
|
|
|
|
|
"type": "integer"
|
|
|
|
|
},
|
|
|
|
|
"firstname": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"lastname": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"is_verified": {
|
|
|
|
|
"type": "boolean"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-30 14:55:51 +00:00
|
|
|
},
|
2022-07-07 14:19:10 +00:00
|
|
|
"422": {
|
|
|
|
|
"description": "Validation Error",
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"message": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"errors": {
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-30 14:55:51 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-07-06 13:37:51 +00:00
|
|
|
"/api/verify-email": {
|
|
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Authorization"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Verify email of client",
|
|
|
|
|
"operationId": "200ade402157108a4de2cc69e35ee0bf",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-07-06 13:37:51 +00:00
|
|
|
"requestBody": {
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"token": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object",
|
|
|
|
|
"example": {
|
|
|
|
|
"email": "ilmedovamahri@gmail.com",
|
|
|
|
|
"token": "4515"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
|
|
|
|
},
|
|
|
|
|
"400": {
|
|
|
|
|
"description": "Missing fields (email or token)"
|
|
|
|
|
},
|
|
|
|
|
"404": {
|
|
|
|
|
"description": "Client not found"
|
|
|
|
|
},
|
|
|
|
|
"401": {
|
|
|
|
|
"description": "Unauthorised. Tokens do not match"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-06-30 14:55:51 +00:00
|
|
|
"/api/client": {
|
|
|
|
|
"get": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Authorization"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Get user",
|
|
|
|
|
"operationId": "9f1c53ceee113e04ff7709c819ce9bf5",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-06-30 14:55:51 +00:00
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
2022-06-27 06:32:28 +00:00
|
|
|
},
|
|
|
|
|
"401": {
|
|
|
|
|
"description": "Unauthorized"
|
|
|
|
|
}
|
2022-06-30 14:55:51 +00:00
|
|
|
},
|
|
|
|
|
"security": [
|
|
|
|
|
{
|
|
|
|
|
"bearerAuth": []
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/api/logout": {
|
|
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Authorization"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Logout user",
|
|
|
|
|
"operationId": "fe8f3429cd6979b3b4517e186505f9f9",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-06-30 14:55:51 +00:00
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
|
|
|
|
},
|
|
|
|
|
"401": {
|
|
|
|
|
"description": "Unauthorized"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"security": [
|
|
|
|
|
{
|
|
|
|
|
"bearerAuth": []
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/api/forgot-password": {
|
|
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Authorization"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Send a user password reset link",
|
|
|
|
|
"operationId": "45bf57623119762aa1c685aff5d3716e",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-06-30 14:55:51 +00:00
|
|
|
"requestBody": {
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object",
|
|
|
|
|
"example": {
|
|
|
|
|
"email": "ilmedovamahri@gmail.com"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
|
|
|
|
}
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
2022-07-04 06:51:55 +00:00
|
|
|
},
|
|
|
|
|
"/api/reset-password": {
|
|
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Authorization"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Reset client password and enter new",
|
|
|
|
|
"operationId": "4196e530fdb10fa91f253ae2ef237046",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-07-04 06:51:55 +00:00
|
|
|
"requestBody": {
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"email": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"token": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"confirm_password": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object",
|
|
|
|
|
"example": {
|
|
|
|
|
"email": "ilmedovamahri@gmail.com",
|
|
|
|
|
"token": "2546",
|
|
|
|
|
"password": "Hello001!",
|
|
|
|
|
"confirm_password": "Hello001!"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-07-08 09:40:16 +00:00
|
|
|
"/api/update-client": {
|
2022-07-04 06:51:55 +00:00
|
|
|
"post": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Authorization"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Update client account",
|
2022-07-08 10:21:04 +00:00
|
|
|
"description": "Every field is required, except password. Password field is optional",
|
2022-07-08 09:40:16 +00:00
|
|
|
"operationId": "aea3e7359e7ae73fa1f74ee19df97360",
|
2022-07-14 10:06:44 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-07-04 06:51:55 +00:00
|
|
|
"requestBody": {
|
|
|
|
|
"content": {
|
|
|
|
|
"application/json": {
|
|
|
|
|
"schema": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"firstname": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"lastname": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"type": "object",
|
|
|
|
|
"example": {
|
|
|
|
|
"firstname": "Mahri",
|
|
|
|
|
"lastname": "Ilmedova",
|
|
|
|
|
"email": "ilmedovamahri@gmail.com",
|
2022-07-08 09:40:16 +00:00
|
|
|
"password": "Hello001!"
|
2022-07-04 06:51:55 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"security": [
|
|
|
|
|
{
|
|
|
|
|
"bearerAuth": []
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2022-07-14 11:22:39 +00:00
|
|
|
},
|
2022-07-14 12:22:10 +00:00
|
|
|
"/api/countries": {
|
2022-07-14 11:22:39 +00:00
|
|
|
"get": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"Sprawochnik"
|
|
|
|
|
],
|
|
|
|
|
"summary": " - Get countries list",
|
2022-07-14 12:22:10 +00:00
|
|
|
"operationId": "da4174401793719c92b768b3111ad03b",
|
2022-07-14 11:22:39 +00:00
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"name": "X-Localization",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"description": "Localization",
|
|
|
|
|
"required": false,
|
|
|
|
|
"schema": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"examples": {
|
|
|
|
|
"ru": {
|
|
|
|
|
"summary": "Russian localization",
|
|
|
|
|
"value": "ru"
|
|
|
|
|
},
|
|
|
|
|
"en": {
|
|
|
|
|
"summary": "English localization",
|
|
|
|
|
"value": "en"
|
|
|
|
|
},
|
|
|
|
|
"tm": {
|
|
|
|
|
"summary": "Turkmen localization",
|
|
|
|
|
"value": "tm"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"description": "OK"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
2022-06-30 14:55:51 +00:00
|
|
|
},
|
|
|
|
|
"components": {
|
|
|
|
|
"securitySchemes": {
|
|
|
|
|
"bearerAuth": {
|
|
|
|
|
"type": "http",
|
|
|
|
|
"name": "bearerAuth",
|
|
|
|
|
"in": "header",
|
|
|
|
|
"bearerFormat": "JWT",
|
|
|
|
|
"scheme": "bearer"
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-06-27 06:32:28 +00:00
|
|
|
}
|
|
|
|
|
}
|