fix: mypy

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-11-21 12:18:25 +01:00
parent 234eaf4709
commit 6f552e0a31
No known key found for this signature in database
3 changed files with 17 additions and 8 deletions

View file

@ -11,7 +11,9 @@ These responses use OpenAPI $ref references to component responses defined
in the OpenAPI specification.
"""
standard_responses = {
from typing import Any
standard_responses: dict[int | str, dict[str, Any]] = {
400: {"$ref": "#/components/responses/BadRequest400"},
429: {"$ref": "#/components/responses/TooManyRequests429"},
500: {"$ref": "#/components/responses/InternalServerError500"},