fix: improve email validation using net/mail package by sniperwolf · Pull Request #60 · oapi-codegen/runtime

@sniperwolf @mromaszewicz

@sniperwolf @mromaszewicz

Invalid emails no longer persist their value after failed UnmarshalJSON
validation, since the new net/mail-based validation sets the value only
after successful parsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

mromaszewicz