Skip to content

Commit 2fb92eb

Browse files
committed
Add default example
1 parent cbaa102 commit 2fb92eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openapi_parser/specification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class Parameter:
168168
class Content:
169169
type: Union[ContentType, LooseContentType]
170170
schema: Schema
171-
example: Optional[Any]
171+
example: Optional[Any] = None
172172
examples: dict[str, Any] = field(default_factory=dict)
173173
# encoding: dict[str, Encoding] # TODO
174174

0 commit comments

Comments
 (0)