From a3c65a1434e770b1115e42b7b33756f14b984236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=83=D0=B7=D0=BD=D0=B5=D1=86=D0=BE=D0=B2=20=D0=98?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=20=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Fri, 11 Apr 2025 14:16:24 +0300 Subject: [PATCH] MSP-5223 generate new swagger --- docs/swagger.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 030f967..0fd70e0 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -100,6 +100,9 @@ definitions: name: type: string type: + enum: + - SECRET + - TEXT type: string value: type: string @@ -189,11 +192,16 @@ definitions: type: string name: type: string + type: + enum: + - SECRET + - TEXT + type: string value: type: string required: - - description - name + - type - value type: object domain.Variable: @@ -628,8 +636,6 @@ paths: responses: "200": description: OK - schema: - $ref: '#/definitions/domain.Variable' "400": description: '`errorCode: 2007` - переменная с таким именем уже существует
' schema: @@ -716,8 +722,6 @@ paths: responses: "200": description: OK - schema: - $ref: '#/definitions/domain.Variable' "400": description: '`errorCode: 2006` - переменная по имени не найдена
' schema: