From 81aca90c395b7fc2eb8f1f8a446e79c3f4dcd26d Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 3 Dec 2025 10:22:13 +0100 Subject: [PATCH] Add `FakeRequest` model to handle request data Introduced a new `FakeRequest` class in the `ReC.API.Models` namespace. The class includes `Body` and `Header` properties, both of which are nullable dictionaries with string keys and object values. These properties are marked as `init`-only to ensure immutability after initialization. This model is designed to support flexible handling of request payloads and headers. --- src/ReC.API/Models/FakeRequest.cs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/ReC.API/Models/FakeRequest.cs diff --git a/src/ReC.API/Models/FakeRequest.cs b/src/ReC.API/Models/FakeRequest.cs new file mode 100644 index 0000000..4e082a1 --- /dev/null +++ b/src/ReC.API/Models/FakeRequest.cs @@ -0,0 +1,8 @@ +namespace ReC.API.Models; + +public class FakeRequest +{ + public Dictionary? Body { get; init; } + + public Dictionary? Header { get; init; } +} \ No newline at end of file