Closed Th3Whit3Wolf closed 1 year ago
If you run below command, then it may possible to build it.
However, the @format
tag follows JSON schema definition, therefore I won't add any custom value in there.
Instead, you can use custom validation tags. Reading below documents, define your own type please.
Feature Request: Validate ObjectIds
I would like to validate that a string is an ObjectId for mongodb. I have worked on it this over here but I get an issue when running the tests.