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
Expected behavior
I expect to see either: "type": ["string, "null"] or "required": true field. A reference to a string (or anything) will create a null value when serializing to json
Your swag version
e.g. 1.16.2
Your go version
go version go1.21.1 darwin/arm64
Desktop (please complete the following information):
OS: mac
Browser: chrome
Version: 119
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The following struct:
generates:
To Reproduce
Steps to reproduce the behavior:
Full Code for the repro
Expected behavior
I expect to see either:
"type": ["string, "null"]
or"required": true
field. A reference to a string (or anything) will create a null value when serializing to jsonYour swag version
e.g. 1.16.2
Your go version
go version go1.21.1 darwin/arm64
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: