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
Hi @fredbi,
I tried to use swagger:operation to achieve this instead of swagger:route+ swagger:response just like below, which follow the example share by you:
Problem statement
I have an API which response type is a string array. Does anyone know how to set example value for it? I tried this but not work:
Swagger specification
Without any example:
Environment
swagger version: v0.27.0
go version: go1.19.10
OS: RHEL 8.8
The text was updated successfully, but these errors were encountered: