diff --git a/docs/api-guide/schemas.md b/docs/api-guide/schemas.md index 25ce9df0d..6ad259588 100644 --- a/docs/api-guide/schemas.md +++ b/docs/api-guide/schemas.md @@ -609,19 +609,19 @@ that do not expect a request body. ### get_path_fields(self, path, method): -Return a list of `coreapi.Link()` instances. One for each path parameter in the URL. +Return a list of `coreapi.Field()` instances. One for each path parameter in the URL. ### get_serializer_fields(self, path, method) -Return a list of `coreapi.Link()` instances. One for each field in the serializer class used by the view. +Return a list of `coreapi.Field()` instances. One for each field in the serializer class used by the view. ### get_pagination_fields(self, path, method) -Return a list of `coreapi.Link()` instances, as returned by the `get_schema_fields()` method on any pagination class used by the view. +Return a list of `coreapi.Field()` instances, as returned by the `get_schema_fields()` method on any pagination class used by the view. ### get_filter_fields(self, path, method) -Return a list of `coreapi.Link()` instances, as returned by the `get_schema_fields()` method of any filter classes used by the view. +Return a list of `coreapi.Field()` instances, as returned by the `get_schema_fields()` method of any filter classes used by the view. ### get_manual_fields(self, path, method)