Skip to content

Using if/then/else #48

Answered by pawndev
pawndev asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pawndev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant