Add drf-yasg2 reference

This commit is contained in:
johnthagen 2020-10-19 07:20:36 -04:00 committed by GitHub
parent 04e0c2b9ab
commit 50aad64699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -825,19 +825,20 @@ A short description of the meaning and intended usage of the input field.
## drf-yasg - Yet Another Swagger Generator
[drf-yasg][drf-yasg] generates [OpenAPI][open-api] documents suitable for code generation - nested schemas,
named models, response bodies, enum/pattern/min/max validators, form parameters, etc.
[drf-yasg2][drf-yasg2] (an active fork of generates of [drf-yasg2][drf-yasg2]) [OpenAPI][open-api]
documents suitable for code generation - nested schemas, named models, response bodies,
enum/pattern/min/max validators, form parameters, etc.
## drf-spectacular - Sane and flexible OpenAPI 3.0 schema generation for Django REST framework
[drf-spectacular][drf-spectacular] is a [OpenAPI 3][open-api] schema generation tool with explicit focus on extensibility,
customizability and client generation. It's usage patterns are very similar to [drf-yasg][drf-yasg].
customizability and client generation. It's usage patterns are very similar to [drf-yasg2][drf-yasg2].
[cite]: https://blog.heroku.com/archives/2014/1/8/json_schema_for_heroku_platform_api
[coreapi]: https://www.coreapi.org/
[corejson]: https://www.coreapi.org/specification/encoding/#core-json-encoding
[drf-yasg]: https://github.com/axnsan12/drf-yasg/
[drf-yasg2]: https://github.com/JoelLefkowitz/drf-yasg
[drf-spectacular]: https://github.com/tfranzel/drf-spectacular/
[open-api]: https://openapis.org/
[json-hyperschema]: https://json-schema.org/latest/json-schema-hypermedia.html