fix: update import path

This commit is contained in:
2025-08-24 09:31:20 +08:00
parent 37a980afc3
commit 259b89656a
12 changed files with 36 additions and 35 deletions

View File

@ -13,7 +13,7 @@ import (
"net/http"
"testing"
"git.zhangdeman.cn/gateway/api-doc/define"
"git.zhangdeman.cn/zhangdeman/api-doc/define"
)
func TestGenerate(t *testing.T) {
@ -133,18 +133,18 @@ func TestGenerate(t *testing.T) {
Type: consts.DataTypeString.String(),
Description: "昵称",
Field: "person.nick_name",
IsRequired: false,
},
{
Type: consts.DataTypeMapAnyAny.String(),
Description: "测试返回生成map",
Field: "obj",
IsRequired: false,
},
},
},
IsRequired: false,
},
{
Type: consts.DataTypeMapAnyAny.String(),
Description: "测试返回生成map",
Field: "obj",
IsRequired: false,
},
},
},
},
},
},
})
byteData, _ := json.MarshalIndent(res, "", "\t")