Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

@lovelydinosaur lovelydinosaur commented Oct 3, 2018

This is a low footprint refinement of #6119.

Closes #5839.

Adds OpenAPIRenderer and JSONOpenAPIRenderer.
Add the generate_schema management command.

TODO:

  • Add flag options to the management command.
  • Document the management command.
  • Document the renderer classes, and switching to OpenAPI.

@encode encode deleted a comment from codecov-io Oct 3, 2018
@lovelydinosaur lovelydinosaur merged commit 8908934 into master Oct 3, 2018
@lovelydinosaur lovelydinosaur deleted the add-openapi-support branch October 3, 2018 14:28
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
…de#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants