From bf707249b60076e51e28f5c674d4fa4b61958351 Mon Sep 17 00:00:00 2001 From: Shimbo Takaaki Date: Mon, 26 Nov 2018 00:19:17 +0900 Subject: [PATCH] Fix typo in inspectors.py --- rest_framework/schemas/inspectors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_framework/schemas/inspectors.py b/rest_framework/schemas/inspectors.py index 02a38f351..baaa1f20c 100644 --- a/rest_framework/schemas/inspectors.py +++ b/rest_framework/schemas/inspectors.py @@ -193,7 +193,7 @@ class AutoSchema(ViewInspector): """ Default inspector for APIView - Responsible for per-view instrospection and schema generation. + Responsible for per-view introspection and schema generation. """ def __init__(self, manual_fields=None): """ @@ -468,7 +468,7 @@ class ManualSchema(ViewInspector): Parameters: * `fields`: list of `coreapi.Field` instances. - * `descripton`: String description for view. Optional. + * `description`: String description for view. Optional. """ super(ManualSchema, self).__init__() assert all(isinstance(f, coreapi.Field) for f in fields), "`fields` must be a list of coreapi.Field instances"