schemars icon indicating copy to clipboard operation
schemars copied to clipboard

Support for minProperties

Open zooeywm opened this issue 2 years ago • 1 comments

How can I add minProperties to my object?

zooeywm avatar May 30 '22 07:05 zooeywm

Yes, manual implementation of struct needed: #119 https://docs.rs/schemars/0.8.10/schemars/schema/struct.ObjectValidation.html#structfield.min_properties

ralpha avatar Jul 09 '22 13:07 ralpha