Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 80f82f4

Browse files
authored
change default value of explode attribute to None; (#18)
1 parent 7273555 commit 80f82f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_openapi_schema/v3_1_0/parameter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Parameter(BaseModel):
7878
- for `cookie` - `form`.
7979
"""
8080

81-
explode: bool = False
81+
explode: Optional[bool] = None
8282
"""When this is true, parameter values of type `array` or `object` generate
8383
separate parameters for each value of the array or key-value pair of the
8484
map.

0 commit comments

Comments
 (0)