优化变量

This commit is contained in:
2024-04-25 17:21:42 +08:00
parent e03e1b9370
commit aadb6f15ee
4 changed files with 26 additions and 4 deletions

View File

@ -109,6 +109,14 @@ func TestGenerate(t *testing.T) {
Required: true,
EnumList: nil,
},
&define.SwaggerParameterInput{
Type: consts.DataTypeMapAnyAny,
Description: "测试global_map",
Name: "obj",
In: "body",
Required: true,
EnumList: nil,
},
},
ResponseList: []*define.SwaggerResponseInput{
&define.SwaggerResponseInput{