Add support for using msgspec in openapi.Component and with validation -- @validate()
I also parameterized the tests in test_validation to verify that msgspec worked, but I also added the equivalent attrs and pydantic tests as well to make sure that all cases were covered.
If I wasn't sure about compatibility, I used inline imports -- as opposed to top-of-file imports -- for msgspec.
Add support for using msgspec in
openapi.Component
and with validation --@validate()
I also parameterized the tests in
test_validation
to verify thatmsgspec
worked, but I also added the equivalentattrs
andpydantic
tests as well to make sure that all cases were covered.If I wasn't sure about compatibility, I used inline imports -- as opposed to top-of-file imports -- for
msgspec
.