fuhrysteve / marshmallow-jsonschema

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

The UUID field inherits from the String field #144

Closed kaos closed 3 years ago

kaos commented 3 years ago

So we need to check if a field inherits UUID before checking for String.

Signed-off-by: Andreas Stenius andreas.stenius@svenskaspel.se

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 99.149% when pulling 6da709a10d17eb0e42bf88daa01fe1addf7151db on kaos:uuid_field_type_detection_fix into 8e70c7e3262eb5ce8a34462e9ebbc08b90201afb on fuhrysteve:master.

fuhrysteve commented 3 years ago

Good catch! Thanks for the pull!