From 3a9eb5a8f2bbcb466aeeecce9fb29090bdb17279 Mon Sep 17 00:00:00 2001 From: TheBigRoomXXL Date: Wed, 13 Sep 2023 09:15:56 +0200 Subject: [PATCH] Merge branch 'origin/datetime-support-for-multiple-format' --- src/apispec/ext/marshmallow/field_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apispec/ext/marshmallow/field_converter.py b/src/apispec/ext/marshmallow/field_converter.py index 0a7b2cf7..79fd368e 100644 --- a/src/apispec/ext/marshmallow/field_converter.py +++ b/src/apispec/ext/marshmallow/field_converter.py @@ -549,7 +549,7 @@ def datetime2properties(self, field, **kwargs: typing.Any) -> dict: "example": "1676451245.596", "min": "0", } - elif field.format == "timestamp_ms": + elif field.format == "timestamp_ms": ret = { "type": "number", "format": "float",