Browse Source

chore: fix some typos (#4564)

Signed-off-by: writegr <wellweek@outlook.com>
pull/4569/head v1.10.3-lts
writegr 7 months ago committed by GitHub
parent
commit
a5fdff61ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      backend/app/api/v1/app.go
  2. 2
      cmd/server/docs/docs.go
  3. 2
      cmd/server/docs/swagger.json
  4. 2
      cmd/server/docs/swagger.yaml

2
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 {

2
cmd/server/docs/docs.go

@ -156,7 +156,7 @@ const docTemplate = `{
}
}
},
"/apps/ingored": {
"/apps/ignored": {
"get": {
"security": [
{

2
cmd/server/docs/swagger.json

@ -149,7 +149,7 @@
}
}
},
"/apps/ingored": {
"/apps/ignored": {
"get": {
"security": [
{

2
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

Loading…
Cancel
Save