oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

Feature/validating unmarshal

Open aopat opened this issue 5 years ago • 4 comments

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.

aopat avatar Oct 26 '20 11:10 aopat

Hi, any news on the merge of this useful PR?

brianmori avatar May 07 '21 21:05 brianmori

I also require this functionality, anything I can do to help get it merged?

adensymonds avatar Jul 13 '21 17:07 adensymonds

@carmo-evan, @vagruchi, @migueleliasweb

could you help by chance?

brianmori avatar Oct 15 '21 15:10 brianmori

Any news on this?

Penthious avatar Mar 04 '22 18:03 Penthious