Commit Graph

2 Commits

Author SHA1 Message Date
Ines Montani
991669c934 Tidy up and auto-format 2021-01-05 13:41:53 +11:00
Jan Margeta
1ad2213349 Fix TokenPatternSchema pattern field validation
Empty pattern field should be considered invalid

This is fixed by replacing minItems with min_items
as described in Pydantic docs:
https://pydantic-docs.helpmanual.io/usage/schema/
2020-10-16 00:41:21 +02:00