-
|
Hi folks ! I was trying in a struct tag (like the other with Thanks Edit 1: I made this go playgroud as an example on my last try to generate the json-schema with conditionals |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Apparently we can't do this in go struct tags. We need to manually add this with the method A new issue about adding some advanced definitions was created yesterday #51 |
Beta Was this translation helpful? Give feedback.
Apparently we can't do this in go struct tags. We need to manually add this with the method
JSONSchema()( https://go.dev/play/p/fIQcOvIfC_3 )A new issue about adding some advanced definitions was created yesterday #51