From 0484d01aae4906b07ae7485e6fa173c71a8f1a1e Mon Sep 17 00:00:00 2001 From: dengshilong Date: Tue, 10 Jul 2018 17:03:39 +0800 Subject: [PATCH] Fix typo error, Link to Field (#6078) --- docs/api-guide/schemas.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)