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
* fix: Generic Fields does not handle Arrays in the .swaggo file
- Detect array type and transform schema into spec.ArrayProperty if needed
fixes#1318, #1320
* refactor: use existing code to parse new type definition
- use methods from Operation to get schema
- methods parseObjectSchema and parseCombinedObjectSchema disconnected from struct
Describe the bug
Using replace to replace
pq.StringArray
to[]string
is not working.To Reproduce
Steps to reproduce the behavior:
replace pq.StringArray []string
in.swaggo
file.swag init
Expected behavior
It should not thow error :
cannot find type definition: []string
and produce response with a string arrayYour swag version
Latest
Your go version
e.g. 1.8
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: