Skip to content

Include defs in msgspec schema#121

Open
semohr wants to merge 3 commits intopgjones:mainfrom
semohr:defs_msgspec
Open

Include defs in msgspec schema#121
semohr wants to merge 3 commits intopgjones:mainfrom
semohr:defs_msgspec

Conversation

@semohr
Copy link
Copy Markdown
Contributor

@semohr semohr commented Apr 21, 2026

As a followup to #120 I found that such TypedDicts with generics do generate references in the json schema returned by msgspec but these are not used in quart-schema. These references are now returned correctly.

Should fix #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing #/components/schemas/LevelOne when creating msgspec.Struct-based class whose attributes are also msgspec.Struct-based class

1 participant