修复list参数不显示问题

This commit is contained in:
2024-04-23 20:47:10 +08:00
parent a3038b693e
commit 0744c5cd5b
2 changed files with 110 additions and 12 deletions

View File

@ -121,6 +121,12 @@ func TestGenerate(t *testing.T) {
Field: "nick_name",
IsRequired: false,
},
&define.SwaggerResponseItemInput{
Type: consts.DataTypeString,
Description: "昵称",
Field: "person.nick_name",
IsRequired: false,
},
},
},
},