MSP-7572 swagger update

This commit is contained in:
nglmq committed 2026-04-21 11:57:23 +03:00
1 parent 7f4a1c8131
commit 03fcb26473
1 file changed
+39
+39
View File
@@ -201,6 +201,17 @@ definitions:
$ref: '#/definitions/domain.Connection'
type: array
type: object
domain.ModuleRelation:
properties:
id:
type: string
name:
type: string
requiredModules:
items:
$ref: '#/definitions/domain.RequiredModuleType'
type: array
type: object
domain.PrometheusTargets:
properties:
labels:
@@ -222,6 +233,13 @@ definitions:
- keepVersions
- moduleName
type: object
domain.RequiredModuleType:
properties:
id:
type: string
name:
type: string
type: object
domain.SyncConfigRequest:
properties:
moduleName:
@@ -747,6 +765,27 @@ paths:
summary: Метод полчения полной информации о состоянии модулей
tags:
- Модули
/module/get_required_modules:
post:
consumes:
- application/json
description: Возвращает список модулей с их зависимостями
produces:
- application/json
responses:
"200":
description: OK
schema:
items:
$ref: '#/definitions/domain.ModuleRelation'
type: array
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/github_com_txix-open_isp-kit_grpc_apierrors.Error'
summary: Метод для получения зависимостей модулей
tags:
- Модули
/routing/get_routes:
post:
consumes: