Merge pull request #5088 from mlissner/patch-1

Updates the core json media type in the docs
This commit is contained in:
Tom Christie 2017-04-24 20:14:17 +01:00 committed by GitHub
commit a0602bce4c

View File

@ -117,7 +117,7 @@ The simplest way to include a schema in your project is to use the
Once the view has been added, you'll be able to make API requests to retrieve Once the view has been added, you'll be able to make API requests to retrieve
the auto-generated schema definition. the auto-generated schema definition.
$ http http://127.0.0.1:8000/ Accept:application/vnd.coreapi+json $ http http://127.0.0.1:8000/ Accept:application/coreapi+json
HTTP/1.0 200 OK HTTP/1.0 200 OK
Allow: GET, HEAD, OPTIONS Allow: GET, HEAD, OPTIONS
Content-Type: application/vnd.coreapi+json Content-Type: application/vnd.coreapi+json