Skip to content

Commit ba28d3a

Browse files
committed
allow type 'null' in captures openapi specs
1 parent a16462a commit ba28d3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/httpx_calls_capture_parameters.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88
class CapturedParameterSchema(BaseModel):
99
title: str | None = None
10-
type_: Literal["str", "int", "float", "bool"] | None = Field(None, alias="type")
10+
type_: Literal["str", "int", "float", "bool", "null"] | None = Field(
11+
None, alias="type"
12+
)
1113
pattern: str | None = None
1214
format_: Literal["uuid"] | None = Field(None, alias="format")
1315
exclusiveMinimum: bool | None = None

0 commit comments

Comments
 (0)