fuhrysteve / marshmallow-jsonschema

JSON Schema Draft v7 (http://json-schema.org/) formatting with marshmallow
MIT License
209 stars 72 forks source link

Union Causing Issues #173

Open sbryfcz opened 2 years ago

sbryfcz commented 2 years ago

I have a schema with a Union of other object types. Is this possible with this package and json schema?

unsupported field type <fields.Union(dump_default=<marshmallow.missing>, attribute=None, validate=None, required=True, load_only=False, dump_only=False, load_default=<marshmallow.missing>, allow_none=False, error_messages={'required': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.'})>