1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-05-11 03:13:42 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Thorsten
f81ca78642
Add file option to generateschema () 2020-02-12 20:35:54 +01:00
Alan Crosswell
819c46ea80 Add --generator_class CLI option to generateschema ()
* add --generator_class CLI option to generateschema
* Add test for generateschema —generator_class flag.
2019-06-09 14:43:54 +02:00
Rodolfo Carvalho
62ed1f8270 Use yaml.safe_load instead of load ()
Use of PyYAML's yaml.load function without specifying the Loader
parameter has been deprecated, see https://msg.pyyaml.org/load.

Earlier versions of PyYAML already had the alternative safe_load
function, which limits the loader to a subset of YAML constructs, that
is enough for what we need here.

Fixes 
2019-05-29 09:51:24 -07:00
Carlton Gibson
37f210a455
Added OpenAPI Schema Generation. ()
Co-authored-by: Lucidiot <lucidiot@protonmail.com>
Co-authored-by: dongfangtianyu <dongfangtianyu@qq.com>
2019-05-13 16:07:03 +02:00