{"action":"closed","issue":{"url":"https://api.github.com/repos/encode/django-rest-framework/issues/6566","repository_url":"https://api.github.com/repos/encode/django-rest-framework","labels_url":"https://api.github.com/repos/encode/django-rest-framework/issues/6566/labels{/name}","comments_url":"https://api.github.com/repos/encode/django-rest-framework/issues/6566/comments","events_url":"https://api.github.com/repos/encode/django-rest-framework/issues/6566/events","html_url":"https://github.com/encode/django-rest-framework/issues/6566","id":429135877,"node_id":"MDU6SXNzdWU0MjkxMzU4Nzc=","number":6566,"title":"Add OpenAPI version of SchemaView","user":{"login":"carltongibson","id":64686,"node_id":"MDQ6VXNlcjY0Njg2","avatar_url":"https://avatars1.githubusercontent.com/u/64686?v=4","gravatar_id":"","url":"https://api.github.com/users/carltongibson","html_url":"https://github.com/carltongibson","followers_url":"https://api.github.com/users/carltongibson/followers","following_url":"https://api.github.com/users/carltongibson/following{/other_user}","gists_url":"https://api.github.com/users/carltongibson/gists{/gist_id}","starred_url":"https://api.github.com/users/carltongibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carltongibson/subscriptions","organizations_url":"https://api.github.com/users/carltongibson/orgs","repos_url":"https://api.github.com/users/carltongibson/repos","events_url":"https://api.github.com/users/carltongibson/events{/privacy}","received_events_url":"https://api.github.com/users/carltongibson/received_events","type":"User","site_admin":false},"labels":[{"id":611390077,"node_id":"MDU6TGFiZWw2MTEzOTAwNzc=","url":"https://api.github.com/repos/encode/django-rest-framework/labels/Schema%20Generation","name":"Schema Generation","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-04-04T08:02:01Z","updated_at":"2019-04-30T09:30:41Z","closed_at":"2019-04-30T09:30:41Z","author_association":"COLLABORATOR","body":"#6532 is focusing first on the `generateschema` command. This will enable a static schema that will be built using `apistar` for the docs. \r\n\r\nFor dynamic schema's (e.g. where model choice fields are used) we need two things: \r\n\r\n* A version (or adjustment) of `SchemaView` that will generate the schema on demand.\r\n    * Instantiate generator. \r\n    * Call `get_schema()`\r\n    * Render to response. \r\n* Integration with `apistar`. Is it just a JS endpoint to fetch the schema? Do we also serve the static files? Etc. @tomchristie  to advise on this part as we get nearer. "}}
{"actor":{"display_login":"carltongibson"}}