From a5eb316ec44a12231d6a604ca9d15eead4889ddc Mon Sep 17 00:00:00 2001 From: Dhaval Mehta Date: Sat, 25 Jan 2020 19:22:57 +0530 Subject: [PATCH] unified reference comments --- rest_framework/schemas/openapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/schemas/openapi.py b/rest_framework/schemas/openapi.py index 1db20a9d4..5f093abfd 100644 --- a/rest_framework/schemas/openapi.py +++ b/rest_framework/schemas/openapi.py @@ -218,7 +218,7 @@ class AutoSchema(ViewInspector): elif all(isinstance(choice, int) for choice in choices): type = 'integer' elif all(isinstance(choice, (int, float, Decimal)) for choice in choices): # `number` includes `integer` - # SEE: https://tools.ietf.org/html/draft-wright-json-schema-validation-00#section-5.21 + # Ref: https://tools.ietf.org/html/draft-wright-json-schema-validation-00#section-5.21 type = 'number' elif all(isinstance(choice, str) for choice in choices): type = 'string'