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
I don't seem to be able to find a solution for this. What I am trying to do is add an example value to a custom payload object that I generate. Is it possible to do this? or, an example must be specified in a struct's field only. 🙏🙏🙏
// @Accept json
// @Produce json
// @Param payload bodyPayload object{foo=string,bar=string}
// @Success ...
// @Failure ...
// is it possible to assign value to foo, bar, or something like `... object{foo="foo"}`
Would appreciate some help. Could very well be that I missed something in the docs
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 everyone,
I don't seem to be able to find a solution for this. What I am trying to do is add an example value to a custom payload object that I generate. Is it possible to do this? or, an example must be specified in a struct's field only. 🙏🙏🙏
Would appreciate some help. Could very well be that I missed something in the docs
Beta Was this translation helpful? Give feedback.
All reactions