mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
dddf2b5f39
Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest Framework API. Features: - full support for nested serializers and schemas - response schemas and descriptions - model definitions compatible with codegen tools - customization hooks at all points in the spec generation process - JSON and YAML format for spec - bundles latest version of swagger-ui and redoc for viewing the generated documentation - schema view is cacheable out of the box - generated Swagger schema can be automatically validated by swagger-spec-validator or flex - supports Django REST Framework API versioning with URLPathVersioning and NamespaceVersioning (other DRF or custom versioning schemes are not currently supported) WWW: https://github.com/axnsan12/drf-yasg PR: 227344 Submitted by: Kai <freebsd_ports@k-worx.org>
21 lines
768 B
Plaintext
21 lines
768 B
Plaintext
Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest
|
|
Framework API.
|
|
|
|
Features:
|
|
|
|
- full support for nested serializers and schemas
|
|
- response schemas and descriptions
|
|
- model definitions compatible with codegen tools
|
|
- customization hooks at all points in the spec generation process
|
|
- JSON and YAML format for spec
|
|
- bundles latest version of swagger-ui and redoc for viewing the generated
|
|
documentation
|
|
- schema view is cacheable out of the box
|
|
- generated Swagger schema can be automatically validated by
|
|
swagger-spec-validator or flex
|
|
- supports Django REST Framework API versioning with URLPathVersioning
|
|
and NamespaceVersioning (other DRF or custom versioning schemes are
|
|
not currently supported)
|
|
|
|
WWW: https://github.com/axnsan12/drf-yasg
|