mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-26 09:14:34 +03:00
d54df8c438
* 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
|
||
---|---|---|
.. | ||
authentication.md | ||
content-negotiation.md | ||
exceptions.md | ||
fields.md | ||
filtering.md | ||
format-suffixes.md | ||
generic-views.md | ||
metadata.md | ||
pagination.md | ||
parsers.md | ||
permissions.md | ||
relations.md | ||
renderers.md | ||
requests.md | ||
responses.md | ||
reverse.md | ||
routers.md | ||
schemas.md | ||
serializers.md | ||
settings.md | ||
status-codes.md | ||
testing.md | ||
throttling.md | ||
validators.md | ||
versioning.md | ||
views.md | ||
viewsets.md |