修复对象嵌套的BUG
This commit is contained in:
@ -97,8 +97,10 @@ type SwaggerDefinition struct {
|
||||
//
|
||||
// Date : 17:25 2024/4/19
|
||||
type SwaggerDefinitionProperty struct {
|
||||
Description string `json:"description"` // 描述
|
||||
Type string `json:"type"` // 类型
|
||||
Description string `json:"description"` // 描述
|
||||
Type string `json:"type"` // 类型
|
||||
Items map[string]string `json:"items,omitempty"` // 引用类型中的引用(数组)
|
||||
AllOf []map[string]string `json:"allOf,omitempty"` // 引用类型中的引用(对象)
|
||||
}
|
||||
|
||||
// Swagger 文档整体结构定义
|
||||
|
Reference in New Issue
Block a user