sqlc.dev plus gongular and you have a quick REST api
sqlc.dev plus gql-gen and you have a quick GraphQL server
sqlc.dev plus goa.design and you have a full-featured REST + gRPC server with OpenAPI for easy client generation
No need to write model code and validation for inputs/outputs. Just define your SQL queries and your request objects (or typedefs for GraphQL) and then let these tools generate everything else.