diff --git a/rest_framework/schemas/openapi.py b/rest_framework/schemas/openapi.py index 6317dea24..5f6e37b36 100644 --- a/rest_framework/schemas/openapi.py +++ b/rest_framework/schemas/openapi.py @@ -74,7 +74,7 @@ class AutoSchema(ViewInspector): def __init__(self, tags=None): if tags and not all(isinstance(tag, str) for tag in tags): - raise ValueError('tags must be a list of string.') + raise ValueError('tags must be a list or tuple of string.') self._tags = tags super().__init__()