From 97c992fe009ed8588b63177e322dc07269ea8966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahattin=20=C3=87ini=C3=A7?= Date: Wed, 5 Jun 2024 12:24:58 +0300 Subject: [PATCH] fix: Fixed swagger documentation --- api/docs/docs.go | 3 ++- api/docs/swagger.json | 3 ++- api/docs/swagger.yaml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/api/docs/docs.go b/api/docs/docs.go index c650308..e071dfd 100644 --- a/api/docs/docs.go +++ b/api/docs/docs.go @@ -1311,7 +1311,8 @@ const docTemplate = `{ "type": "object", "required": [ "name", - "query" + "query", + "type" ], "properties": { "configs": {}, diff --git a/api/docs/swagger.json b/api/docs/swagger.json index efed493..448b15b 100644 --- a/api/docs/swagger.json +++ b/api/docs/swagger.json @@ -1300,7 +1300,8 @@ "type": "object", "required": [ "name", - "query" + "query", + "type" ], "properties": { "configs": {}, diff --git a/api/docs/swagger.yaml b/api/docs/swagger.yaml index c9b3a3b..973ad32 100644 --- a/api/docs/swagger.yaml +++ b/api/docs/swagger.yaml @@ -44,6 +44,7 @@ definitions: required: - name - query + - type type: object api.createDashboard.dashboardInput: properties: