优化代码

This commit is contained in:
2024-12-25 12:04:30 +08:00
parent cc4ef13e23
commit f58f8da722
2 changed files with 17 additions and 19 deletions

View File

@ -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)
}