goadesign / goa

🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
https://goa.design
MIT License
5.68k stars 559 forks source link

Generate validation code for required attributes in inline struct http bodies #3580

Closed tchssk closed 1 month ago

tchssk commented 2 months ago

It looks the validation code is missing. I tried to fix the code but it might not be the best way.

raphael commented 1 month ago

This change makes sense, good catch!