Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONPointerToDotNotation ¶ added in v0.0.82
JSONPointerToDotNotation converts JSON Pointer "#/foo/bar" to dot-notation "foo.bar".
Types ¶
type Error ¶ added in v0.0.82
type Error struct { // Type is the error type. Type ErrorType // DocumentPointer is the JSON Pointer in the document. DocumentPointer string // SchemaPointer is the JSON Pointer in the schema. SchemaPointer string // DocumentFieldName is a pointer to the document in dot-notation: fo.bar.baz DocumentFieldName string }
Error represents a schema error.
func NewFromSanthoshError ¶ added in v0.0.82
func NewFromSanthoshError(validationError jsonschema.ValidationError) *Error
NewFromSanthoshError converts github.com/santhosh-tekuri/jsonschema.ValidationError to Error.
Directories ¶
Path | Synopsis |
---|---|
Package httploader implements loader.Loader for http/https url.
|
Package httploader implements loader.Loader for http/https url. |
Click to show internal directories.
Click to hide internal directories.