You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a large list of components + schemas. These schemas generate our structs, so far so good. On some fields within these structs I have specified x-oapi-codegen-extra-tags:. Based on these tags, I would like to generate slices var generatedSlice = []string{filteredField1, filteredField2}. Is this at all possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I cannot find an answer anywhere, so here we go.
We have a large list of components + schemas. These schemas generate our structs, so far so good. On some fields within these structs I have specified
x-oapi-codegen-extra-tags:
. Based on these tags, I would like to generate slicesvar generatedSlice = []string{filteredField1, filteredField2}
. Is this at all possible?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions