django-rest-framework/rest_framework/management
Tom Christie 8908934928
Add OpenAPIRenderer and generate_schema management command. (#6229)
* Add OpenAPIRenderer and generate_schema command

* Add both OpenAPIRenderer and JSONOpenAPIRenderer

* Add flags to generate_schema command

* Fix syntax error

* Pull coreschema references into method, so they are only used if 'OpenAPIRenderer' is in use.

* generate_schema -> generateschema, and fix to OpenAPIRenderer

* Ensure that renderers generate bytes and generateschema outputs text

* Drop unused import
2018-10-03 15:28:04 +01:00
..
commands Add OpenAPIRenderer and generate_schema management command. (#6229) 2018-10-03 15:28:04 +01:00
__init__.py Add OpenAPIRenderer and generate_schema management command. (#6229) 2018-10-03 15:28:04 +01:00