fizz icon indicating copy to clipboard operation
fizz copied to clipboard

Use tag to determine if to flatten or not an embedded anonymous field

Open vladshub opened this issue 2 years ago • 0 comments

If we would take for example a kube object Pod it has ObjectMeta as an embedded field but if we render it via json.Marshal we would get a nice metadata field in our json. However in our OpenAPI definition this field would be missing.

vladshub avatar Jul 20 '22 14:07 vladshub