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
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
-
How to annotate a method with multiple success response schema which all returns 200 response code?
I want to show all possibilities for said endpoint on the swagger web view
for example
// @Success 200 {object} response.JSONResponse{data=map[string]string} // @Success 200 {object} response.JSONResponse{data=entity.RunJobResponse} // @Success 200 {object} response.JSONResponse{data=entity.RunJobDeviceResponse}
Beta Was this translation helpful? Give feedback.
All reactions