huma
huma copied to clipboard
tag readOnly:"true" does not seem to work on object types
I have defined 2 structs, named Notice, and User. The Notice struct has a field of type User with json:"user" readOnly:"true"
but it ends up in the Body for a post request anyway. Primitive fields, like string and int and such, with readOnly:"true"
seem to exhibit the expected behaviour.