From 61cc272e2ffa9fa54987e7ab3662062de87af7e3 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Wed, 23 Aug 2023 23:45:57 +0600 Subject: [PATCH] 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. --- public/swagger.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/swagger.json b/public/swagger.json index 37c1f3c..760f09c 100644 --- a/public/swagger.json +++ b/public/swagger.json @@ -22,7 +22,7 @@ "operationId": "captchaGeneration", "parameters": [ { - "name": "public_token", + "name": "public-token", "in": "header", "description": "Public token for captcha generation", "required": true, @@ -59,7 +59,7 @@ "operationId": "captchaChecking", "parameters": [ { - "name": "public_token", + "name": "public-token", "in": "header", "description": "Public token for captcha generation", "required": true, @@ -110,7 +110,7 @@ "operationId": "CaptchaKeyInfo", "parameters": [ { - "name": "private_token", + "name": "private-token", "in": "header", "description": "Private token for captcha verification", "required": true,