mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
Update docs for OpenAPI (#6814)
This commit is contained in:
parent
f81ca78642
commit
e92e61104f
|
@ -18,12 +18,12 @@ Django REST Framework provides support for automatic generation of
|
|||
|
||||
## Generating an OpenAPI Schema
|
||||
|
||||
### Install `pyyaml`
|
||||
### Install dependencies
|
||||
|
||||
You'll need to install `pyyaml`, so that you can render your generated schema
|
||||
into the commonly used YAML-based OpenAPI format.
|
||||
pip install pyyaml uritemplate
|
||||
|
||||
pip install pyyaml
|
||||
* `pyyaml` is used to generate schema into YAML-based OpenAPI format.
|
||||
* `uritemplate` is used internally to get parameters in path.
|
||||
|
||||
### Generating a static schema with the `generateschema` management command
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user