Skip to content

Commit 45e7663

Browse files
committed
Use nested models to test all paths in asyncapi implementation
1 parent 07248f8 commit 45e7663

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/common/test_asyncapi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class SomeTestMessage(BaseModel):
3636
class AnotherTestMessage(BaseModel):
3737
status: bool
3838
code: int
39+
nested: SomeTestMessage
3940

4041

4142
# Test cases

0 commit comments

Comments
 (0)