增加获取文档数据方法

This commit is contained in:
白茶清欢 2025-02-14 21:57:28 +08:00
parent 07f91dfdfc
commit 9e8560cccf

View File

@ -78,6 +78,10 @@ type Generate struct {
readMethodList []string readMethodList []string
} }
func (g *Generate) Doc() *define.OpenapiDoc {
return g.docData
}
// SetLicense 设置文档协议 // SetLicense 设置文档协议
// //
// Author : go_developer@163.com<白茶清欢> // Author : go_developer@163.com<白茶清欢>