-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Failure to execute make generate-swagger
in go 1.22
#29664
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
Comments
No, it will be overwritten
This is make dependency tracking in action and completely normal. If there is no change in any |
That said, it also crashes for me. Maybe it's related to golang, I run with 1.22.1. |
Upstream bug: go-swagger/go-swagger#3070 |
Workaround is to downgrade go to 1.21 until upstream has fixed it. |
make generate-swagger
make generate-swagger
in go 1.22
Fixes: #29664. No release available for go-swagger/go-swagger#3070 so let's depend on latest commit hash. Output is the same as before for me.
Description
After deleting

v1_json.tmpl
, I tried to executemake generate-swagger
to re-generate the swagger file, but it failed.Question
Gitea Version
9dc8a63
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build
Database
None
The text was updated successfully, but these errors were encountered: