Open leiserfg opened 10 months ago
The schema of the models uses validation instead of serialization and that causes the computed fields not to be shown (see https://docs.pydantic.dev/latest/api/json_schema/#pydantic.json_schema.JsonSchemaMode).
validation
serialization
@vitalik is there a known workaround for this, or a plan to address?
I can try to send a PR if you point me in the direction of where to fix
@aurbano sure - go ahead
The schema of the models uses
validation
instead ofserialization
and that causes the computed fields not to be shown (see https://docs.pydantic.dev/latest/api/json_schema/#pydantic.json_schema.JsonSchemaMode).