From a5fdff61ff97f8aceb2f7b03c0b85cae8a4cc31e Mon Sep 17 00:00:00 2001 From: writegr <167099595+writegr@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:24:40 +0800 Subject: [PATCH] chore: fix some typos (#4564) Signed-off-by: writegr --- backend/app/api/v1/app.go | 2 +- cmd/server/docs/docs.go | 2 +- cmd/server/docs/swagger.json | 2 +- cmd/server/docs/swagger.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/app/api/v1/app.go b/backend/app/api/v1/app.go index 2230aecafc26..345dbd1ff52e 100644 --- a/backend/app/api/v1/app.go +++ b/backend/app/api/v1/app.go @@ -137,7 +137,7 @@ func (b *BaseApi) GetAppDetailByID(c *gin.Context) { // @Accept json // @Success 200 {object} response.IgnoredApp // @Security ApiKeyAuth -// @Router /apps/ingored [get] +// @Router /apps/ignored [get] func (b *BaseApi) GetIgnoredApp(c *gin.Context) { res, err := appService.GetIgnoredApp() if err != nil { diff --git a/cmd/server/docs/docs.go b/cmd/server/docs/docs.go index 3f56f443591d..9f7ea2be6e2d 100644 --- a/cmd/server/docs/docs.go +++ b/cmd/server/docs/docs.go @@ -156,7 +156,7 @@ const docTemplate = `{ } } }, - "/apps/ingored": { + "/apps/ignored": { "get": { "security": [ { diff --git a/cmd/server/docs/swagger.json b/cmd/server/docs/swagger.json index 26435a67616c..eedc515e11bd 100644 --- a/cmd/server/docs/swagger.json +++ b/cmd/server/docs/swagger.json @@ -149,7 +149,7 @@ } } }, - "/apps/ingored": { + "/apps/ignored": { "get": { "security": [ { diff --git a/cmd/server/docs/swagger.yaml b/cmd/server/docs/swagger.yaml index baa2fc878ab7..9ff795cbd1a0 100644 --- a/cmd/server/docs/swagger.yaml +++ b/cmd/server/docs/swagger.yaml @@ -5120,7 +5120,7 @@ paths: summary: Get app detail by id tags: - App - /apps/ingored: + /apps/ignored: get: consumes: - application/json