Skip to content

An array of objects with a field that is not always present does not have to be marked as optional #402

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

Closed
wilkinsona opened this issue Jun 9, 2017 · 0 comments
Labels
Milestone

Comments

@wilkinsona
Copy link
Member

When a request or response is being documented that contains an array of objects, and those objects have a field that is not always present, the field should have to be marked as optional for the test to pass. That's not the case at the moment. As things stand, as long as the field is present in at least one of the objects in the array, the test will pass.

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

No branches or pull requests

1 participant