Skip to content

Conversation

@magbareya
Copy link
Contributor

  1. When we call 'addRequired' we need to add it also to 'required' field.
  2. change the order between 'if' and 'for' because if 'properties' is null, then we don't need to execute the for loop at all

1) When we call 'addRequired' we need to add it also to 'required' field.
2) change the order between 'if' and 'for' because if 'properties' is null, then we don't need to execute the for loop at all
@magbareya magbareya closed this Sep 7, 2015
@magbareya magbareya reopened this Sep 7, 2015
fehguy added a commit that referenced this pull request Sep 20, 2015
@fehguy fehguy merged commit ed60dcc into swagger-api:master Sep 20, 2015
@webron webron added this to the v1.5.4 milestone Sep 21, 2015
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

Successfully merging this pull request may close these issues.

3 participants