Required field validation in REST services

Hi Team,

We are using Lucee-light server and coldbox 6 version for developing the REST services.
How can we do the validation of required fields and return a valid/suitable message by using metedata in REST API services.

Thank you.

Have you looked at cbvalidation?

https://coldbox-validation.ortusbooks.com/