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

Does not handle additionalProperties #44

Open
jukeblimp32 opened this issue Nov 6, 2018 · 0 comments
Open

Does not handle additionalProperties #44

jukeblimp32 opened this issue Nov 6, 2018 · 0 comments

Comments

@jukeblimp32
Copy link

I've been using your library to validate requests, and it's been working great except for when it comes to additionalProperties.

The two methods I've tried of getting this to work are:

  1. Specify in the the request object that:
    required:
    -additionalProperties
  2. Specify in the referenced object within additionalProperties that each field is required.

With the first method, I always get failed validation because it is looking for an "additionalProperties" key. On the second method, if I don't include one of the fields that's required in the additionalProperties, I do not get a validation error.

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

No branches or pull requests

1 participant