Skip to content

Validating data gives "in body" in errors #114

Description

@diafour

Hi! I want to validate data against non-swagger schemas. Everything is ok, except this line: https://github.com/go-openapi/validate/blob/master/schema.go#L75
Is there any recommendations how to change in: "body" to something that user can control?

For now, i just fork this repo and change in: "body" to in: "" to get less confusing error messages ;)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions