#Regex patterns with OpenAPI schema
1 messages · Page 1 of 1 (latest)
Where do you define those regexes, and how would you like them to be represented in the OpenAPI schema?
no need
this should be handled by https://github.com/litestar-org/litestar/pull/1847
This PR extends support for the annotated-types library. This library is used in pydantic v2 internally and its good to support it when parsing metadata.
I will make a followup issue to add documentation for this - but I wont have capacity to do this for now (usage is clear from the tests ofc), so leaving it out of scope.