diff --git a/odmantic/bson.py b/odmantic/bson.py index 4e0906a9..722f2947 100644 --- a/odmantic/bson.py +++ b/odmantic/bson.py @@ -347,9 +347,7 @@ def validate_mongo_datetime( def __get_pydantic_json_schema__( cls, _core_schema: core_schema.CoreSchema, handler: GetJsonSchemaHandler ) -> JsonSchemaValue: - schema = handler(core_schema.datetime_schema()) - schema.update(example=datetime.utcnow().isoformat()) - return schema + return handler(core_schema.datetime_schema()) class _decimalDecimalPydanticAnnotation: