Skip to content

Commit f0aa105

Browse files
committed
Using dict type for new spec examples
1 parent 13a49d9 commit f0aa105

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
@@ -169,7 +169,7 @@ class Content:
169169
type: Union[ContentType, LooseContentType]
170170
schema: Schema
171171
example: Optional[Any]
172-
examples: list[Any] = field(default_factory=list)
172+
examples: dict[str, Any] = field(default_factory=dict)
173173
# encoding: dict[str, Encoding] # TODO
174174

175175

0 commit comments

Comments
 (0)