{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/westfieldlabs/apivore/pulls/24","id":29958833,"html_url":"https://github.com/westfieldlabs/apivore/pull/24","diff_url":"https://github.com/westfieldlabs/apivore/pull/24.diff","patch_url":"https://github.com/westfieldlabs/apivore/pull/24.patch","issue_url":"https://api.github.com/repos/westfieldlabs/apivore/issues/24","number":24,"state":"open","locked":false,"title":"re-enable optional property test using additionalProperties","user":{"login":"hornc","id":905545,"avatar_url":"https://avatars.githubusercontent.com/u/905545?v=3","gravatar_id":"","url":"https://api.github.com/users/hornc","html_url":"https://github.com/hornc","followers_url":"https://api.github.com/users/hornc/followers","following_url":"https://api.github.com/users/hornc/following{/other_user}","gists_url":"https://api.github.com/users/hornc/gists{/gist_id}","starred_url":"https://api.github.com/users/hornc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hornc/subscriptions","organizations_url":"https://api.github.com/users/hornc/orgs","repos_url":"https://api.github.com/users/hornc/repos","events_url":"https://api.github.com/users/hornc/events{/privacy}","received_events_url":"https://api.github.com/users/hornc/received_events","type":"User","site_admin":false},"body":"@chrisrbnelson I've re-enabled this test because optional properties do work with the additionalProperties field, as you said. It seems to be inherited from json-schema rather than from Swagger 2.0, which doesn't seem to say anything about it specifically.  The test swagger file that uses it, 07_missing_non-required_property.json, does pass the swagger 2.0 validation though, so it seems to all work nicely together. Easier than I thought, thanks for pointing me in the right direction!","created_at":"2015-02-25T03:36:27Z","updated_at":"2015-02-25T03:36:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/westfieldlabs/apivore/pulls/24/commits","review_comments_url":"https://api.github.com/repos/westfieldlabs/apivore/pulls/24/comments","review_comment_url":"https://api.github.com/repos/westfieldlabs/apivore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/westfieldlabs/apivore/issues/24/comments","statuses_url":"https://api.github.com/repos/westfieldlabs/apivore/statuses/a363c9cacb017c45757d93835d5dda6fe630068d","head":{"label":"hornc:master","ref":"master","sha":"a363c9cacb017c45757d93835d5dda6fe630068d","user":{"login":"hornc","id":905545,"avatar_url":"https://avatars.githubusercontent.com/u/905545?v=3","gravatar_id":"","url":"https://api.github.com/users/hornc","html_url":"https://github.com/hornc","followers_url":"https://api.github.com/users/hornc/followers","following_url":"https://api.github.com/users/hornc/following{/other_user}","gists_url":"https://api.github.com/users/hornc/gists{/gist_id}","starred_url":"https://api.github.com/users/hornc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hornc/subscriptions","organizations_url":"https://api.github.com/users/hornc/orgs","repos_url":"https://api.github.com/users/hornc/repos","events_url":"https://api.github.com/users/hornc/events{/privacy}","received_events_url":"https://api.github.com/users/hornc/received_events","type":"User","site_admin":false},"repo":{"id":26733676,"name":"apivore","full_name":"hornc/apivore","owner":{"login":"hornc","id":905545,"avatar_url":"https://avatars.githubusercontent.com/u/905545?v=3","gravatar_id":"","url":"https://api.github.com/users/hornc","html_url":"https://github.com/hornc","followers_url":"https://api.github.com/users/hornc/followers","following_url":"https://api.github.com/users/hornc/following{/other_user}","gists_url":"https://api.github.com/users/hornc/gists{/gist_id}","starred_url":"https://api.github.com/users/hornc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hornc/subscriptions","organizations_url":"https://api.github.com/users/hornc/orgs","repos_url":"https://api.github.com/users/hornc/repos","events_url":"https://api.github.com/users/hornc/events{/privacy}","received_events_url":"https://api.github.com/users/hornc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hornc/apivore","description":"","fork":true,"url":"https://api.github.com/repos/hornc/apivore","forks_url":"https://api.github.com/repos/hornc/apivore/forks","keys_url":"https://api.github.com/repos/hornc/apivore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hornc/apivore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hornc/apivore/teams","hooks_url":"https://api.github.com/repos/hornc/apivore/hooks","issue_events_url":"https://api.github.com/repos/hornc/apivore/issues/events{/number}","events_url":"https://api.github.com/repos/hornc/apivore/events","assignees_url":"https://api.github.com/repos/hornc/apivore/assignees{/user}","branches_url":"https://api.github.com/repos/hornc/apivore/branches{/branch}","tags_url":"https://api.github.com/repos/hornc/apivore/tags","blobs_url":"https://api.github.com/repos/hornc/apivore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hornc/apivore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hornc/apivore/git/refs{/sha}","trees_url":"https://api.github.com/repos/hornc/apivore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hornc/apivore/statuses/{sha}","languages_url":"https://api.github.com/repos/hornc/apivore/languages","stargazers_url":"https://api.github.com/repos/hornc/apivore/stargazers","contributors_url":"https://api.github.com/repos/hornc/apivore/contributors","subscribers_url":"https://api.github.com/repos/hornc/apivore/subscribers","subscription_url":"https://api.github.com/repos/hornc/apivore/subscription","commits_url":"https://api.github.com/repos/hornc/apivore/commits{/sha}","git_commits_url":"https://api.github.com/repos/hornc/apivore/git/commits{/sha}","comments_url":"https://api.github.com/repos/hornc/apivore/comments{/number}","issue_comment_url":"https://api.github.com/repos/hornc/apivore/issues/comments{/number}","contents_url":"https://api.github.com/repos/hornc/apivore/contents/{+path}","compare_url":"https://api.github.com/repos/hornc/apivore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hornc/apivore/merges","archive_url":"https://api.github.com/repos/hornc/apivore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hornc/apivore/downloads","issues_url":"https://api.github.com/repos/hornc/apivore/issues{/number}","pulls_url":"https://api.github.com/repos/hornc/apivore/pulls{/number}","milestones_url":"https://api.github.com/repos/hornc/apivore/milestones{/number}","notifications_url":"https://api.github.com/repos/hornc/apivore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hornc/apivore/labels{/name}","releases_url":"https://api.github.com/repos/hornc/apivore/releases{/id}","created_at":"2014-11-17T00:43:53Z","updated_at":"2015-02-25T02:43:52Z","pushed_at":"2015-02-25T02:43:51Z","git_url":"git://github.com/hornc/apivore.git","ssh_url":"git@github.com:hornc/apivore.git","clone_url":"https://github.com/hornc/apivore.git","svn_url":"https://github.com/hornc/apivore","homepage":null,"size":338,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"westfieldlabs:master","ref":"master","sha":"300adbebe49d3eecaf74022a53b924b9bbea5a00","user":{"login":"westfieldlabs","id":4454594,"avatar_url":"https://avatars.githubusercontent.com/u/4454594?v=3","gravatar_id":"","url":"https://api.github.com/users/westfieldlabs","html_url":"https://github.com/westfieldlabs","followers_url":"https://api.github.com/users/westfieldlabs/followers","following_url":"https://api.github.com/users/westfieldlabs/following{/other_user}","gists_url":"https://api.github.com/users/westfieldlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/westfieldlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westfieldlabs/subscriptions","organizations_url":"https://api.github.com/users/westfieldlabs/orgs","repos_url":"https://api.github.com/users/westfieldlabs/repos","events_url":"https://api.github.com/users/westfieldlabs/events{/privacy}","received_events_url":"https://api.github.com/users/westfieldlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":25453128,"name":"apivore","full_name":"westfieldlabs/apivore","owner":{"login":"westfieldlabs","id":4454594,"avatar_url":"https://avatars.githubusercontent.com/u/4454594?v=3","gravatar_id":"","url":"https://api.github.com/users/westfieldlabs","html_url":"https://github.com/westfieldlabs","followers_url":"https://api.github.com/users/westfieldlabs/followers","following_url":"https://api.github.com/users/westfieldlabs/following{/other_user}","gists_url":"https://api.github.com/users/westfieldlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/westfieldlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westfieldlabs/subscriptions","organizations_url":"https://api.github.com/users/westfieldlabs/orgs","repos_url":"https://api.github.com/users/westfieldlabs/repos","events_url":"https://api.github.com/users/westfieldlabs/events{/privacy}","received_events_url":"https://api.github.com/users/westfieldlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/westfieldlabs/apivore","description":"","fork":false,"url":"https://api.github.com/repos/westfieldlabs/apivore","forks_url":"https://api.github.com/repos/westfieldlabs/apivore/forks","keys_url":"https://api.github.com/repos/westfieldlabs/apivore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/westfieldlabs/apivore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/westfieldlabs/apivore/teams","hooks_url":"https://api.github.com/repos/westfieldlabs/apivore/hooks","issue_events_url":"https://api.github.com/repos/westfieldlabs/apivore/issues/events{/number}","events_url":"https://api.github.com/repos/westfieldlabs/apivore/events","assignees_url":"https://api.github.com/repos/westfieldlabs/apivore/assignees{/user}","branches_url":"https://api.github.com/repos/westfieldlabs/apivore/branches{/branch}","tags_url":"https://api.github.com/repos/westfieldlabs/apivore/tags","blobs_url":"https://api.github.com/repos/westfieldlabs/apivore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/westfieldlabs/apivore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/westfieldlabs/apivore/git/refs{/sha}","trees_url":"https://api.github.com/repos/westfieldlabs/apivore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/westfieldlabs/apivore/statuses/{sha}","languages_url":"https://api.github.com/repos/westfieldlabs/apivore/languages","stargazers_url":"https://api.github.com/repos/westfieldlabs/apivore/stargazers","contributors_url":"https://api.github.com/repos/westfieldlabs/apivore/contributors","subscribers_url":"https://api.github.com/repos/westfieldlabs/apivore/subscribers","subscription_url":"https://api.github.com/repos/westfieldlabs/apivore/subscription","commits_url":"https://api.github.com/repos/westfieldlabs/apivore/commits{/sha}","git_commits_url":"https://api.github.com/repos/westfieldlabs/apivore/git/commits{/sha}","comments_url":"https://api.github.com/repos/westfieldlabs/apivore/comments{/number}","issue_comment_url":"https://api.github.com/repos/westfieldlabs/apivore/issues/comments{/number}","contents_url":"https://api.github.com/repos/westfieldlabs/apivore/contents/{+path}","compare_url":"https://api.github.com/repos/westfieldlabs/apivore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/westfieldlabs/apivore/merges","archive_url":"https://api.github.com/repos/westfieldlabs/apivore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/westfieldlabs/apivore/downloads","issues_url":"https://api.github.com/repos/westfieldlabs/apivore/issues{/number}","pulls_url":"https://api.github.com/repos/westfieldlabs/apivore/pulls{/number}","milestones_url":"https://api.github.com/repos/westfieldlabs/apivore/milestones{/number}","notifications_url":"https://api.github.com/repos/westfieldlabs/apivore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/westfieldlabs/apivore/labels{/name}","releases_url":"https://api.github.com/repos/westfieldlabs/apivore/releases{/id}","created_at":"2014-10-20T06:11:43Z","updated_at":"2015-02-23T00:24:13Z","pushed_at":"2015-02-23T00:24:13Z","git_url":"git://github.com/westfieldlabs/apivore.git","ssh_url":"git@github.com:westfieldlabs/apivore.git","clone_url":"https://github.com/westfieldlabs/apivore.git","svn_url":"https://github.com/westfieldlabs/apivore","homepage":null,"size":606,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/westfieldlabs/apivore/pulls/24"},"html":{"href":"https://github.com/westfieldlabs/apivore/pull/24"},"issue":{"href":"https://api.github.com/repos/westfieldlabs/apivore/issues/24"},"comments":{"href":"https://api.github.com/repos/westfieldlabs/apivore/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/westfieldlabs/apivore/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/westfieldlabs/apivore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/westfieldlabs/apivore/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/westfieldlabs/apivore/statuses/a363c9cacb017c45757d93835d5dda6fe630068d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":6,"changed_files":2}}