From e8039fbee457968fc0cbf056a14ed19d65365405 Mon Sep 17 00:00:00 2001 From: MaximHarder <19776684+MaximHarder@users.noreply.github.com> Date: Sun, 20 Sep 2026 15:06:29 +0000 Subject: [PATCH] chore(openapi): regenerate openapi.yaml --- apidata/openapi.yaml | 46 ++++++++++++------------ upload/api/vendor/composer/installed.php | 4 +-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/apidata/openapi.yaml b/apidata/openapi.yaml index fa8314f..5758c27 100644 --- a/apidata/openapi.yaml +++ b/apidata/openapi.yaml @@ -1117,29 +1117,6 @@ paths: security: [] components: schemas: - ApiError: - description: 'Единый JSON-формат ошибки API v2: error, message, details?' - required: - - error - - message - properties: - error: - description: 'Код ошибки' - type: string - example: unauthorized - message: - description: 'Человекочитаемое сообщение' - type: string - example: 'Требуется Authorization: Bearer ' - details: - description: 'Доп. детали (validation и т.п.)' - type: object - nullable: true - additionalProperties: true - type: object - example: - error: unauthorized - message: 'Требуется Authorization: Bearer ' AdminLogs: description: 'Схема таблицы `admin_logs`.' properties: @@ -3625,6 +3602,29 @@ components: additionalProperties: $ref: '#/components/schemas/UserXfieldField' type: object + ApiError: + description: 'Единый JSON-формат ошибки API v2: error, message, details?' + required: + - error + - message + properties: + error: + description: 'Код ошибки' + type: string + example: unauthorized + message: + description: 'Человекочитаемое сообщение' + type: string + example: 'Требуется Authorization: Bearer ' + details: + description: 'Доп. детали (validation и т.п.)' + type: object + nullable: true + additionalProperties: true + type: object + example: + error: unauthorized + message: 'Требуется Authorization: Bearer ' responses: Unauthorized: description: 'Нет Authorization: Bearer или AuthToken недействителен/просрочен' diff --git a/upload/api/vendor/composer/installed.php b/upload/api/vendor/composer/installed.php index 02ecf78..0476877 100644 --- a/upload/api/vendor/composer/installed.php +++ b/upload/api/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'devcraftclub/dle-api', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'df679e997fb055ef2c162dea47e34cddae091a9b', + 'reference' => '609968a85ca5329dc81cca33c741b120108ccd25', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -22,7 +22,7 @@ 'devcraftclub/dle-api' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'df679e997fb055ef2c162dea47e34cddae091a9b', + 'reference' => '609968a85ca5329dc81cca33c741b120108ccd25', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(),