Closed
Description
Hello,
im trying to use express-openapi-validator with mongodb, but I can't figure out how should I handle ObjectId fields.
I have to specify id fields in the openapi.json as string, and in res.json() it will be converted to string as well, but if i set validateResponses to true then it will throw an error for me (id should be string).
Any idea how to handle properly mongodb _id fields?