From bc4c567424904f79e948b7c65a0ba5d6d96df6ec Mon Sep 17 00:00:00 2001 From: Axel Rindle Date: Mon, 27 Jan 2025 22:15:53 +0100 Subject: [PATCH] test: fix snapshot --- ...est__it_infers_model_type_when_toArray_is_implemented__1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__snapshots__/InferTypesTest__it_infers_model_type_when_toArray_is_implemented__1.yml b/tests/__snapshots__/InferTypesTest__it_infers_model_type_when_toArray_is_implemented__1.yml index 994f75d6..8e519c24 100644 --- a/tests/__snapshots__/InferTypesTest__it_infers_model_type_when_toArray_is_implemented__1.yml +++ b/tests/__snapshots__/InferTypesTest__it_infers_model_type_when_toArray_is_implemented__1.yml @@ -4,7 +4,7 @@ properties: children: { type: array, items: { $ref: '#/components/schemas/SamplePostModelWithToArray' } } read_time: { type: string } user: { $ref: '#/components/schemas/SampleUserModel' } - created_at: { type: [object, 'null'] } + created_at: { type: [string, 'null'], format: date-time } required: - id - children