Rename parameter names in Swagger API documentation.

In our Swagger API documentation, the parameter names 'public_token' and 'private_token' have been renamed to match our established naming conventions. The hyphenated form ('public-token' and 'private-token') is more consistent with other parameters.
This commit is contained in:
Leonid Nikitin 2023-08-23 23:45:57 +06:00
parent d72d6ff614
commit 61cc272e2f
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -22,7 +22,7 @@
"operationId": "captchaGeneration", "operationId": "captchaGeneration",
"parameters": [ "parameters": [
{ {
"name": "public_token", "name": "public-token",
"in": "header", "in": "header",
"description": "Public token for captcha generation", "description": "Public token for captcha generation",
"required": true, "required": true,
@ -59,7 +59,7 @@
"operationId": "captchaChecking", "operationId": "captchaChecking",
"parameters": [ "parameters": [
{ {
"name": "public_token", "name": "public-token",
"in": "header", "in": "header",
"description": "Public token for captcha generation", "description": "Public token for captcha generation",
"required": true, "required": true,
@ -110,7 +110,7 @@
"operationId": "CaptchaKeyInfo", "operationId": "CaptchaKeyInfo",
"parameters": [ "parameters": [
{ {
"name": "private_token", "name": "private-token",
"in": "header", "in": "header",
"description": "Private token for captcha verification", "description": "Private token for captcha verification",
"required": true, "required": true,