Upgrade dependencies

This commit is contained in:
Ingo Oppermann
2022-08-24 16:48:04 +03:00
parent 45630f3a0d
commit 692b65b97c
33 changed files with 2422 additions and 407 deletions

View File

@@ -17,7 +17,6 @@ package spec
import (
"encoding/json"
"fmt"
"net/url"
"strings"
"github.com/go-openapi/jsonpointer"
@@ -145,7 +144,7 @@ func (r *SchemaURL) fromMap(v map[string]interface{}) error {
}
if vv, ok := v["$schema"]; ok {
if str, ok := vv.(string); ok {
u, err := url.Parse(str)
u, err := parseURL(str)
if err != nil {
return err
}