I am getting the validation to fail error even though I have given all required items/parameters to the body then also it gives an error ...
schema model restaurant:
restaurant API Router for the posting :
main server index :
if any one faced same issue or if it resolved please do share with me because i am also facing validation error event i have provide required body items then also it is giving me validation error ... but if i removed "mapLoaction" from schema then it was work well but when mapLoaction is added in schema then it gives the validation error .please look inti my issue ..
*i see some old solution but no result because they are so old 5-6 yeas agos questions.
same issue while posting othere data schemamodels also gives validation error




