Skip to content

lost format error path #681

@micronull

Description

@micronull

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions