优化代码
This commit is contained in:
@ -11,6 +11,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"git.zhangdeman.cn/gateway/api-doc/define"
|
||||
"git.zhangdeman.cn/zhangdeman/serialize"
|
||||
"os"
|
||||
"os/user"
|
||||
"testing"
|
||||
@ -35,5 +36,6 @@ func Test_parser_Openapi3(t *testing.T) {
|
||||
|
||||
func TestParseForSwagger(t *testing.T) {
|
||||
docUrl := "https://git.zhangdeman.cn/swagger.v1.json"
|
||||
_, _ = Parse(docUrl)
|
||||
res, _ := Parse(docUrl)
|
||||
serialize.JSON.ConsoleOutput(res)
|
||||
}
|
||||
|
Reference in New Issue
Block a user