marshmallow-jsonschema
marshmallow-jsonschema copied to clipboard
Mark fields as read only when using dump_only
marshmallow allows marking fields with dump_only / load_only, it would be good to know fields that have been marked as such. Do you think this would require adding another field to JSONSchema, e.g. read_only / write_only?
I added support for dump_only
to be readonly
in the latest master - at a glance I'm not seeing anything in the json schema spec for something resembling write only..
I don't think that is part of the json schema. marshmallow uses dump_only to mean read only, and load_only for write only, that's what I was referring to.