oapi-codegen
oapi-codegen copied to clipboard
Feature/validating unmarshal
This PR is a solution for #244 .
A new generate option validating-unmarshal is added to trigger the generation of UnmarshalJSON methods which validate that required fields have been supplied. This needs to be done during unmarshalling as the use of value types for required properties removes this information from the exposed objects.
Hi, any news on the merge of this useful PR?
I also require this functionality, anything I can do to help get it merged?
@carmo-evan, @vagruchi, @migueleliasweb
could you help by chance?
Any news on this?