优化openapi文档数据结构定义
This commit is contained in:
@ -32,7 +32,7 @@ func Test_parser_Openapi3(t *testing.T) {
|
||||
var bArr *B
|
||||
g := NewOpenapiDoc(nil, nil)
|
||||
g.AddApiFromInAndOut(&define.UriBaseConfig{
|
||||
Uri: "/a/b/c/d",
|
||||
Uri: "/ent/user/detail",
|
||||
Method: http.MethodPost,
|
||||
ContentType: []string{"application/x-www-form-urlencoded"},
|
||||
OutputContentType: []string{"application/yml", "application/json", "application/xml"},
|
||||
|
Reference in New Issue
Block a user