-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] The parameters section can't be generate under go1.20 #2913
Comments
Same here |
Yes, same problem |
+1 |
Is there any chance that this problem will be fixed in near future? |
Possible duplicate of #2897 |
Apparently, the issue I mentioned includes a possible workaround. Once I rebuilt |
Any fix for this issue? Still happens on: Swagger version: 0.30.4 |
My observation is with the latest version of GoLand (2023.1.2) is changing the swagger yaml in the comments via its linter. Thus breaking the request body format and responses
|
Seems to be fixed in v0.30.5 |
It's fixed in v0.30.5. |
I can still reproduce in v0.30.5. Works great with Go 1.19, but fails to generate properly with both Go 1.20 and Go 1.21. |
Problem statement
After execute the generate command, the value of body is always "string"
And then I downgrading the version of Go to 1.19.5 and try to re-generate the swagger files successfully.
Environment
swagger version: 0.30.3
go version: 1.20.2
OS: MacOS
The text was updated successfully, but these errors were encountered: