{"action":"created","comment":{"url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/comments/31443368","id":31443368,"diff_hunk":"@@ -43,6 +43,11 @@ A few relevant settings for your `Pyramid .ini file <http://docs.pylonsproject.o\n         # Default: True\n         pyramid_swagger.enable_path_validation = True\n \n+        # Use Python classes instead of dicts to represent models in incoming\n+        # requests.\n+        # Default: Whatever the default is in bravado_core, currently True","path":"docs/configuration.rst","position":6,"original_position":6,"commit_id":"409aac0a06dbd1cc0eca2f783cfe16aa1a755a62","original_commit_id":"409aac0a06dbd1cc0eca2f783cfe16aa1a755a62","user":{"login":"striglia","id":262630,"avatar_url":"https://avatars.githubusercontent.com/u/262630?v=3","gravatar_id":"","url":"https://api.github.com/users/striglia","html_url":"https://github.com/striglia","followers_url":"https://api.github.com/users/striglia/followers","following_url":"https://api.github.com/users/striglia/following{/other_user}","gists_url":"https://api.github.com/users/striglia/gists{/gist_id}","starred_url":"https://api.github.com/users/striglia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/striglia/subscriptions","organizations_url":"https://api.github.com/users/striglia/orgs","repos_url":"https://api.github.com/users/striglia/repos","events_url":"https://api.github.com/users/striglia/events{/privacy}","received_events_url":"https://api.github.com/users/striglia/received_events","type":"User","site_admin":false},"body":"Can we explicitly default this inside pyramid_swagger code (e.g. if it's unset, set it false and pass that explicitly into bravado_core)? I wouldn't want this default to secretly change on users without an obvious code change here.","created_at":"2015-06-01T16:33:20Z","updated_at":"2015-06-01T16:33:20Z","html_url":"https://github.com/striglia/pyramid_swagger/pull/119#discussion_r31443368","pull_request_url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/comments/31443368"},"html":{"href":"https://github.com/striglia/pyramid_swagger/pull/119#discussion_r31443368"},"pull_request":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119","id":36425679,"html_url":"https://github.com/striglia/pyramid_swagger/pull/119","diff_url":"https://github.com/striglia/pyramid_swagger/pull/119.diff","patch_url":"https://github.com/striglia/pyramid_swagger/pull/119.patch","issue_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/119","number":119,"state":"open","locked":false,"title":"Add pyramid_swagger.use_models config key","user":{"login":"analogue","id":26757,"avatar_url":"https://avatars.githubusercontent.com/u/26757?v=3","gravatar_id":"","url":"https://api.github.com/users/analogue","html_url":"https://github.com/analogue","followers_url":"https://api.github.com/users/analogue/followers","following_url":"https://api.github.com/users/analogue/following{/other_user}","gists_url":"https://api.github.com/users/analogue/gists{/gist_id}","starred_url":"https://api.github.com/users/analogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogue/subscriptions","organizations_url":"https://api.github.com/users/analogue/orgs","repos_url":"https://api.github.com/users/analogue/repos","events_url":"https://api.github.com/users/analogue/events{/privacy}","received_events_url":"https://api.github.com/users/analogue/received_events","type":"User","site_admin":false},"body":"This adds a new config key to pyramid_swagger and passes it on to bravado-core.  When ```use_models``` is set to ```False```, models are not generated from the incoming request. This retains compatibility with existing Swagger 1.2 views where models are represented as dicts.","created_at":"2015-05-28T16:30:30Z","updated_at":"2015-06-01T16:33:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"750579bb03056dc5192166ecf74415e720de7878","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119/commits","review_comments_url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119/comments","review_comment_url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/119/comments","statuses_url":"https://api.github.com/repos/striglia/pyramid_swagger/statuses/409aac0a06dbd1cc0eca2f783cfe16aa1a755a62","head":{"label":"analogue:add_use_models_to_config","ref":"add_use_models_to_config","sha":"409aac0a06dbd1cc0eca2f783cfe16aa1a755a62","user":{"login":"analogue","id":26757,"avatar_url":"https://avatars.githubusercontent.com/u/26757?v=3","gravatar_id":"","url":"https://api.github.com/users/analogue","html_url":"https://github.com/analogue","followers_url":"https://api.github.com/users/analogue/followers","following_url":"https://api.github.com/users/analogue/following{/other_user}","gists_url":"https://api.github.com/users/analogue/gists{/gist_id}","starred_url":"https://api.github.com/users/analogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogue/subscriptions","organizations_url":"https://api.github.com/users/analogue/orgs","repos_url":"https://api.github.com/users/analogue/repos","events_url":"https://api.github.com/users/analogue/events{/privacy}","received_events_url":"https://api.github.com/users/analogue/received_events","type":"User","site_admin":false},"repo":{"id":33140134,"name":"pyramid_swagger","full_name":"analogue/pyramid_swagger","owner":{"login":"analogue","id":26757,"avatar_url":"https://avatars.githubusercontent.com/u/26757?v=3","gravatar_id":"","url":"https://api.github.com/users/analogue","html_url":"https://github.com/analogue","followers_url":"https://api.github.com/users/analogue/followers","following_url":"https://api.github.com/users/analogue/following{/other_user}","gists_url":"https://api.github.com/users/analogue/gists{/gist_id}","starred_url":"https://api.github.com/users/analogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogue/subscriptions","organizations_url":"https://api.github.com/users/analogue/orgs","repos_url":"https://api.github.com/users/analogue/repos","events_url":"https://api.github.com/users/analogue/events{/privacy}","received_events_url":"https://api.github.com/users/analogue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/analogue/pyramid_swagger","description":"Convenient tools for using Swagger to define and validate your interfaces in a Pyramid webapp.","fork":true,"url":"https://api.github.com/repos/analogue/pyramid_swagger","forks_url":"https://api.github.com/repos/analogue/pyramid_swagger/forks","keys_url":"https://api.github.com/repos/analogue/pyramid_swagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/analogue/pyramid_swagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/analogue/pyramid_swagger/teams","hooks_url":"https://api.github.com/repos/analogue/pyramid_swagger/hooks","issue_events_url":"https://api.github.com/repos/analogue/pyramid_swagger/issues/events{/number}","events_url":"https://api.github.com/repos/analogue/pyramid_swagger/events","assignees_url":"https://api.github.com/repos/analogue/pyramid_swagger/assignees{/user}","branches_url":"https://api.github.com/repos/analogue/pyramid_swagger/branches{/branch}","tags_url":"https://api.github.com/repos/analogue/pyramid_swagger/tags","blobs_url":"https://api.github.com/repos/analogue/pyramid_swagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/analogue/pyramid_swagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/analogue/pyramid_swagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/analogue/pyramid_swagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/analogue/pyramid_swagger/statuses/{sha}","languages_url":"https://api.github.com/repos/analogue/pyramid_swagger/languages","stargazers_url":"https://api.github.com/repos/analogue/pyramid_swagger/stargazers","contributors_url":"https://api.github.com/repos/analogue/pyramid_swagger/contributors","subscribers_url":"https://api.github.com/repos/analogue/pyramid_swagger/subscribers","subscription_url":"https://api.github.com/repos/analogue/pyramid_swagger/subscription","commits_url":"https://api.github.com/repos/analogue/pyramid_swagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/analogue/pyramid_swagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/analogue/pyramid_swagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/analogue/pyramid_swagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/analogue/pyramid_swagger/contents/{+path}","compare_url":"https://api.github.com/repos/analogue/pyramid_swagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/analogue/pyramid_swagger/merges","archive_url":"https://api.github.com/repos/analogue/pyramid_swagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/analogue/pyramid_swagger/downloads","issues_url":"https://api.github.com/repos/analogue/pyramid_swagger/issues{/number}","pulls_url":"https://api.github.com/repos/analogue/pyramid_swagger/pulls{/number}","milestones_url":"https://api.github.com/repos/analogue/pyramid_swagger/milestones{/number}","notifications_url":"https://api.github.com/repos/analogue/pyramid_swagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/analogue/pyramid_swagger/labels{/name}","releases_url":"https://api.github.com/repos/analogue/pyramid_swagger/releases{/id}","created_at":"2015-03-30T18:23:30Z","updated_at":"2015-05-05T15:57:30Z","pushed_at":"2015-05-28T17:00:41Z","git_url":"git://github.com/analogue/pyramid_swagger.git","ssh_url":"git@github.com:analogue/pyramid_swagger.git","clone_url":"https://github.com/analogue/pyramid_swagger.git","svn_url":"https://github.com/analogue/pyramid_swagger","homepage":"http://pyramid-swagger.readthedocs.org/","size":604,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"striglia:master","ref":"master","sha":"74479b4812c7052f534930edd7915704afcc0c2d","user":{"login":"striglia","id":262630,"avatar_url":"https://avatars.githubusercontent.com/u/262630?v=3","gravatar_id":"","url":"https://api.github.com/users/striglia","html_url":"https://github.com/striglia","followers_url":"https://api.github.com/users/striglia/followers","following_url":"https://api.github.com/users/striglia/following{/other_user}","gists_url":"https://api.github.com/users/striglia/gists{/gist_id}","starred_url":"https://api.github.com/users/striglia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/striglia/subscriptions","organizations_url":"https://api.github.com/users/striglia/orgs","repos_url":"https://api.github.com/users/striglia/repos","events_url":"https://api.github.com/users/striglia/events{/privacy}","received_events_url":"https://api.github.com/users/striglia/received_events","type":"User","site_admin":false},"repo":{"id":20118512,"name":"pyramid_swagger","full_name":"striglia/pyramid_swagger","owner":{"login":"striglia","id":262630,"avatar_url":"https://avatars.githubusercontent.com/u/262630?v=3","gravatar_id":"","url":"https://api.github.com/users/striglia","html_url":"https://github.com/striglia","followers_url":"https://api.github.com/users/striglia/followers","following_url":"https://api.github.com/users/striglia/following{/other_user}","gists_url":"https://api.github.com/users/striglia/gists{/gist_id}","starred_url":"https://api.github.com/users/striglia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/striglia/subscriptions","organizations_url":"https://api.github.com/users/striglia/orgs","repos_url":"https://api.github.com/users/striglia/repos","events_url":"https://api.github.com/users/striglia/events{/privacy}","received_events_url":"https://api.github.com/users/striglia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/striglia/pyramid_swagger","description":"Convenient tools for using Swagger to define and validate your interfaces in a Pyramid webapp.","fork":false,"url":"https://api.github.com/repos/striglia/pyramid_swagger","forks_url":"https://api.github.com/repos/striglia/pyramid_swagger/forks","keys_url":"https://api.github.com/repos/striglia/pyramid_swagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/striglia/pyramid_swagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/striglia/pyramid_swagger/teams","hooks_url":"https://api.github.com/repos/striglia/pyramid_swagger/hooks","issue_events_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/events{/number}","events_url":"https://api.github.com/repos/striglia/pyramid_swagger/events","assignees_url":"https://api.github.com/repos/striglia/pyramid_swagger/assignees{/user}","branches_url":"https://api.github.com/repos/striglia/pyramid_swagger/branches{/branch}","tags_url":"https://api.github.com/repos/striglia/pyramid_swagger/tags","blobs_url":"https://api.github.com/repos/striglia/pyramid_swagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/striglia/pyramid_swagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/striglia/pyramid_swagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/striglia/pyramid_swagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/striglia/pyramid_swagger/statuses/{sha}","languages_url":"https://api.github.com/repos/striglia/pyramid_swagger/languages","stargazers_url":"https://api.github.com/repos/striglia/pyramid_swagger/stargazers","contributors_url":"https://api.github.com/repos/striglia/pyramid_swagger/contributors","subscribers_url":"https://api.github.com/repos/striglia/pyramid_swagger/subscribers","subscription_url":"https://api.github.com/repos/striglia/pyramid_swagger/subscription","commits_url":"https://api.github.com/repos/striglia/pyramid_swagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/striglia/pyramid_swagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/striglia/pyramid_swagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/striglia/pyramid_swagger/contents/{+path}","compare_url":"https://api.github.com/repos/striglia/pyramid_swagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/striglia/pyramid_swagger/merges","archive_url":"https://api.github.com/repos/striglia/pyramid_swagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/striglia/pyramid_swagger/downloads","issues_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues{/number}","pulls_url":"https://api.github.com/repos/striglia/pyramid_swagger/pulls{/number}","milestones_url":"https://api.github.com/repos/striglia/pyramid_swagger/milestones{/number}","notifications_url":"https://api.github.com/repos/striglia/pyramid_swagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/striglia/pyramid_swagger/labels{/name}","releases_url":"https://api.github.com/repos/striglia/pyramid_swagger/releases{/id}","created_at":"2014-05-24T00:43:16Z","updated_at":"2015-05-20T00:31:35Z","pushed_at":"2015-05-28T17:00:42Z","git_url":"git://github.com/striglia/pyramid_swagger.git","ssh_url":"git@github.com:striglia/pyramid_swagger.git","clone_url":"https://github.com/striglia/pyramid_swagger.git","svn_url":"https://github.com/striglia/pyramid_swagger","homepage":"http://pyramid-swagger.readthedocs.org/","size":1424,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":18,"forks":16,"open_issues":18,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119"},"html":{"href":"https://github.com/striglia/pyramid_swagger/pull/119"},"issue":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/issues/119"},"comments":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/striglia/pyramid_swagger/statuses/409aac0a06dbd1cc0eca2f783cfe16aa1a755a62"}}}}