Most ergonomic way to validate and read query/search params in API routes
Is there something similar to
validateSearch (available in regular routes) for API routes? Or what's the most ergonomic way to parse and read query params?