{"action":"closed","issue":{"url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/73","labels_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/73/comments","events_url":"https://api.github.com/repos/striglia/pyramid_swagger/issues/73/events","html_url":"https://github.com/striglia/pyramid_swagger/issues/73","id":52038233,"number":73,"title":"Make api-docs registration customizable","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},"labels":[{"url":"https://api.github.com/repos/striglia/pyramid_swagger/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-15T21:02:21Z","updated_at":"2015-02-26T01:00:03Z","closed_at":"2015-02-26T01:00:03Z","body":"Currently pyramid_swagger will register the api-docs/* endpoints automatically, with no opportunity for customization. There are several valid reasons to want to customize this (service of a different endpoint, authorization, etc.) and they should be exposed to users.\r\n\r\nThe implementation we decide on should ideally:\r\n* Involve no configuration for users wanting the default behavior\r\n* Allow those who need to customize full ability. Probably just delegate the entire registration process to them.\r\n\r\nWorth noting that this will most likely end with us exposing (for the first time) our internal representation and access methods for the schemas to our users. Thar be dragons.\r\n"}}