msgspec
msgspec copied to clipboard
Does msgspec have a concept of schema mode?
Question
Is it possible when generating a JSON Schema to specify the mode as validation or serialization with the former representing what can be accepted and the latter what will be serialized. If that doesn't make sense I think it is better explained in the pydantic docs.