Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validating data gives "in body" in errors #114

Open
diafour opened this issue Sep 26, 2019 · 0 comments
Open

Validating data gives "in body" in errors #114

diafour opened this issue Sep 26, 2019 · 0 comments

Comments

@diafour
Copy link

diafour commented Sep 26, 2019

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 ;)

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

No branches or pull requests

2 participants