mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Fix tutorial instruction to also add pyyaml (#6443)
This commit is contained in:
parent
abf07e672e
commit
dc6b3bf42e
|
@ -29,9 +29,10 @@ automatically generated schemas. Since we're using viewsets and routers,
|
|||
we can simply use the automatic schema generation.
|
||||
|
||||
You'll need to install the `coreapi` python package in order to include an
|
||||
API schema.
|
||||
API schema, and `pyyaml` to render the schema into the commonly used
|
||||
YAML-based OpenAPI format.
|
||||
|
||||
$ pip install coreapi
|
||||
$ pip install coreapi pyyaml
|
||||
|
||||
We can now include a schema for our API, by including an autogenerated schema
|
||||
view in our URL configuration.
|
||||
|
|
Loading…
Reference in New Issue
Block a user