{"action":"created","issue":{"url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/469","repository_url":"https://api.github.com/repos/apigee-127/swagger-tools","labels_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/469/comments","events_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/469/events","html_url":"https://github.com/apigee-127/swagger-tools/issues/469","id":197179002,"number":469,"title":"Return all validation errors, instead of just the first one","user":{"login":"danielsiwiec","id":1505227,"avatar_url":"https://avatars.githubusercontent.com/u/1505227?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsiwiec","html_url":"https://github.com/danielsiwiec","followers_url":"https://api.github.com/users/danielsiwiec/followers","following_url":"https://api.github.com/users/danielsiwiec/following{/other_user}","gists_url":"https://api.github.com/users/danielsiwiec/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsiwiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsiwiec/subscriptions","organizations_url":"https://api.github.com/users/danielsiwiec/orgs","repos_url":"https://api.github.com/users/danielsiwiec/repos","events_url":"https://api.github.com/users/danielsiwiec/events{/privacy}","received_events_url":"https://api.github.com/users/danielsiwiec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-22T13:52:06Z","updated_at":"2016-12-22T19:09:24Z","closed_at":null,"body":"It would be very useful, if there was a way to instruct the swagger validator to return all validation errors, instead of just the first occurance. For example:\r\n\r\nWith a following schema:\r\n\r\n```yaml\r\n/search:\r\n  get:\r\n    parameters:\r\n      - name: firstName\r\n        in: query\r\n        required: true\r\n        type: string\r\n      - name: lastName\r\n        in: query\r\n        type: string\r\n        required: true\r\n```\r\n\r\nif a call is made to `/search` without any query parameters, I'd like the validator to identify both `firstName` and `lastName` as missing, as opposed to only `firstName`.\r\n\r\nWould there be an appetite for such feature? I'd be happy to take a stab at a PR."},"comment":{"url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/comments/268868730","html_url":"https://github.com/apigee-127/swagger-tools/issues/469#issuecomment-268868730","issue_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/469","id":268868730,"user":{"login":"danielsiwiec","id":1505227,"avatar_url":"https://avatars.githubusercontent.com/u/1505227?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsiwiec","html_url":"https://github.com/danielsiwiec","followers_url":"https://api.github.com/users/danielsiwiec/followers","following_url":"https://api.github.com/users/danielsiwiec/following{/other_user}","gists_url":"https://api.github.com/users/danielsiwiec/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsiwiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsiwiec/subscriptions","organizations_url":"https://api.github.com/users/danielsiwiec/orgs","repos_url":"https://api.github.com/users/danielsiwiec/repos","events_url":"https://api.github.com/users/danielsiwiec/events{/privacy}","received_events_url":"https://api.github.com/users/danielsiwiec/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T19:09:24Z","updated_at":"2016-12-22T19:09:24Z","body":"Do I understand correctly, that the spec validation process you referred to applies to loading the definitions (as during the application start up) as opposed to request/response validation (as in with the validator middleware)?"}}
{"actor":{"display_login":"danielsiwiec"}}