* Initial Refactor Step * Add descriptor class * call from generator * proxy back to generator for implementation. * Move `get_link` to descriptor * Move `get_description` to descriptor * Remove need for generator in get_description * Move get_path_fields to descriptor * Move `get_serializer_fields` to descriptor * Move `get_pagination_fields` to descriptor * Move `get_filter_fields` to descriptor * Move `get_encoding` to descriptor. * Pass just `url` from SchemaGenerator to descriptor * Make `view` a property Encapsulates check for a view instance. * Adjust API Reference docs * Add `ManualSchema` class * Refactor to `ViewInspector` plus `AutoSchema` The interface then is **just** `get_link()` * Add `manual_fields` kwarg to AutoSchema * Add schema decorator for FBVs * Adjust comments * Docs: Provide full params in example Ref feedback https://github.com/encode/django-rest-framework/pull/5354/files/b52e372f8f936204753b17fe7c9bfb517b93a045#r137254795 * Add docstring for ViewInstpector.__get__ descriptor method. Ref https://github.com/encode/django-rest-framework/pull/5354#discussion_r137265022 * Make `schemas` a package. * Split generators, inspectors, views. * Adjust imports * Rename to EndpointEnumerator * Adjust ManualSchema to take `fields` … and `description`. Allows `url` and `action` to remain dynamic * Add package/module docstrings
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| authentication.md | Loading commit data... | |
| content-negotiation.md | Loading commit data... | |
| exceptions.md | Loading commit data... | |
| fields.md | Loading commit data... | |
| filtering.md | Loading commit data... | |
| format-suffixes.md | Loading commit data... | |
| generic-views.md | Loading commit data... | |
| metadata.md | Loading commit data... | |
| pagination.md | Loading commit data... | |
| parsers.md | Loading commit data... | |
| permissions.md | Loading commit data... | |
| relations.md | Loading commit data... | |
| renderers.md | Loading commit data... | |
| requests.md | Loading commit data... | |
| responses.md | Loading commit data... | |
| reverse.md | Loading commit data... | |
| routers.md | Loading commit data... | |
| schemas.md | Loading commit data... | |
| serializers.md | Loading commit data... | |
| settings.md | Loading commit data... | |
| status-codes.md | Loading commit data... | |
| testing.md | Loading commit data... | |
| throttling.md | Loading commit data... | |
| validators.md | Loading commit data... | |
| versioning.md | Loading commit data... | |
| views.md | Loading commit data... | |
| viewsets.md | Loading commit data... |