How to validate types in API Requests and Responses? - Deno