forked from toolshed/abra
refactor: urfave v3
This commit is contained in:
1
vendor/github.com/xeipuuv/gojsonschema/schema.go
generated
vendored
1
vendor/github.com/xeipuuv/gojsonschema/schema.go
generated
vendored
@ -73,6 +73,7 @@ func (d *Schema) SetRootSchemaName(name string) {
|
||||
// Pretty long function ( sorry :) )... but pretty straight forward, repetitive and boring
|
||||
// Not much magic involved here, most of the job is to validate the key names and their values,
|
||||
// then the values are copied into subSchema struct
|
||||
//
|
||||
func (d *Schema) parseSchema(documentNode interface{}, currentSchema *subSchema) error {
|
||||
|
||||
if currentSchema.draft == nil {
|
||||
|
2
vendor/github.com/xeipuuv/gojsonschema/schemaLoader.go
generated
vendored
2
vendor/github.com/xeipuuv/gojsonschema/schemaLoader.go
generated
vendored
@ -119,7 +119,7 @@ func (sl *SchemaLoader) AddSchemas(loaders ...JSONLoader) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// AddSchema adds a schema under the provided URL to the schema cache
|
||||
//AddSchema adds a schema under the provided URL to the schema cache
|
||||
func (sl *SchemaLoader) AddSchema(url string, loader JSONLoader) error {
|
||||
|
||||
ref, err := gojsonreference.NewJsonReference(url)
|
||||
|
Reference in New Issue
Block a user