From bfd6c6d96192ec527bdbc855c28e10e484338767 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 24 Aug 2026 15:26:32 +0300 Subject: [PATCH] feat(models): Added RequestModel RequestModel consists of http response data class RequestModel: method: str # http method path: str # url path headers: dict # type of info to send body: dict # request body data timeout: int # timeout --- models/itm.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/models/itm.py b/models/itm.py index de6e8cc..ea7492f 100644 --- a/models/itm.py +++ b/models/itm.py @@ -1,3 +1,13 @@ +class RequestModel(BaseModel): + method: str = "GET" + path: str = "/" + headers: dict[str, str] = {} + query: dict[str, str] = {} + body: dict[str, Any] | str | None = None + body_type: str = "json" + timeout: int = 30 + + class StepModel(BaseModel): name: str request: RequestModel