Line format errors no longer contain "Error at".
components:
schemas:
Something:
type: object
properties:
ip:
type: string
format: ipv4
err = doc.Components.Schemas["Something"].Value.VisitJSON(map[string]interface{}{
`ip`: `123.0.0.11111`,
})
Error: Not an IP address
Must be: Error at "/ip": Not an IP address
Line format errors no longer contain "Error at".
Error:
Not an IP addressMust be:
Error at "/ip": Not an IP address