From 39cfc21a2e4ab8b6286005eab7d075abea6b2384 Mon Sep 17 00:00:00 2001 From: tarsil Date: Thu, 11 Apr 2024 18:01:38 +0100 Subject: [PATCH] Fix linting --- esmerald/openapi/openapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esmerald/openapi/openapi.py b/esmerald/openapi/openapi.py index d735f4cb..ecbb2de6 100644 --- a/esmerald/openapi/openapi.py +++ b/esmerald/openapi/openapi.py @@ -179,7 +179,7 @@ def get_openapi_operation_parameters( if field_info.examples is not None: parameter.example = json.dumps(field_info.examples) if field_info.deprecated: - parameter.deprecated = field_info.deprecated + parameter.deprecated = field_info.deprecated # type: ignore parameters.append(parameter.model_dump(by_alias=True)) return parameters