From 335462931a8ea19f2aa379e164afc03d1f92e9b1 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 19 Jan 2023 19:27:17 +0000 Subject: [PATCH] Fix typo in ParametersError.context deprecation. --- openapi_core/validation/request/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi_core/validation/request/exceptions.py b/openapi_core/validation/request/exceptions.py index 2702656a..b812936e 100644 --- a/openapi_core/validation/request/exceptions.py +++ b/openapi_core/validation/request/exceptions.py @@ -16,7 +16,7 @@ class ParametersError(Exception): def context(self) -> Iterable[Exception]: warnings.warn( "context property of ParametersError is deprecated. " - "Use erros instead.", + "Use errors instead.", DeprecationWarning, ) return self.errors