save doc generate

This commit is contained in:
2025-02-09 21:23:58 +08:00
parent e4e8702fd4
commit 88715a7d56
2 changed files with 62 additions and 57 deletions

View File

@ -29,7 +29,7 @@ func Test_parser_Openapi3(t *testing.T) {
List []A `json:"list"`
}
var bArr []*B
g := NewOpenapiDoc()
g := NewOpenapiDoc(nil, nil)
g.AddApiFromInAndOut(&define.UriBaseConfig{
Uri: "/a/b/c/d",
Method: http.MethodPost,