drf-yasg · PyPI
https://pypi.org/project/drf-yasg25.10.2020 · OpenAPI 3.0 note. If you are looking to add Swagger/OpenAPI support to a new project you might want to take a look at drf-spectacular, which is an actively maintained new library that shares most of the goals of this project, while working with OpenAPI 3.0 schemas. OpenAPI 3.0 provides a lot more flexibility than 2.0 in the types of API that can be described.
Schemas - Django REST framework
www.django-rest-framework.org › api-guide › schemasurlconf: A URL conf module name to use when generating the schema. Defaults to settings.ROOT_URLCONF. In order to customize the top-level schema, subclass rest_framework.schemas.openapi.SchemaGenerator and provide your subclass as an argument to the generateschema command or get_schema_view() helper function. get_schema(self, request)