规划文档生成方法生成
This commit is contained in:
@ -263,12 +263,12 @@ type Response struct {
|
||||
//
|
||||
// Date : 16:10 2024/4/19
|
||||
type Info struct {
|
||||
Description string `json:"description"` // 对应用的简短描述。 CommonMark syntax 可以被用来表示富文本呈现。
|
||||
Title string `json:"title" required:"true"` // 必选. 应用的名称。
|
||||
TermsOfService string `json:"termsOfService"` // 指向服务条款的 URL 地址,必须是 URL 地址格式。
|
||||
Contact Contact `json:"contact"` // 联系方式
|
||||
License License `json:"license"` // 开源协议
|
||||
Version string `json:"version" required:"true"` // 必选. API 文档的版本信息(注意:这个版本和开放 API 规范版本没有任何关系)。
|
||||
Description string `json:"description"` // 对应用的简短描述。 CommonMark syntax 可以被用来表示富文本呈现。
|
||||
Title string `json:"title" required:"true"` // 必选. 应用的名称。
|
||||
TermsOfService string `json:"termsOfService"` // 指向服务条款的 URL 地址,必须是 URL 地址格式。
|
||||
Contact *Contact `json:"contact,omitempty"` // 联系方式
|
||||
License *License `json:"license,omitempty"` // 开源协议
|
||||
Version string `json:"version" required:"true"` // 必选. API 文档的版本信息(注意:这个版本和开放 API 规范版本没有任何关系)。
|
||||
}
|
||||
|
||||
// Contact 联系人信息
|
||||
|
Reference in New Issue
Block a user