-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Fix diffpatch API endpoint #35610
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
Fix diffpatch API endpoint #35610
Conversation
ApplyDiffPatchOptions
instead of UpdateFileOptions
Thank you very much! I think I made a mistake in "Refactor "change file" API (#34855)", the "diffpatch" shouldn't be in "/contents". Will make some new changes. |
It should be right now: fbbb1ba |
Thanks for the quick reply! Glad to see this is fixed. |
Fix the swagger documentation for the `diffpatch` API endpoint, and fix the wrong API path caused by a refactoring change. Closes go-gitea#35602 --------- Co-authored-by: wxiaoguang <[email protected]>
Backport #35610 by @surya-purohit Updates the swagger documentation for the `diffpatch` API endpoint. The request body is corrected from the outdated `UpdateFileOptions` to the current `ApplyDiffPatchOptions` to match the code implementation. Closes [issue#35602](#35602) --------- Co-authored-by: Surya Purohit <[email protected]> Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
* giteaofficial/main: [skip ci] Updated translations via Crowdin Update JS deps, misc tweaks (go-gitea#35643) Bump actions/checkout to v5 (go-gitea#35644) nix flake update (go-gitea#35639) Cleanup ActionRun creation (go-gitea#35624) bump archives&rar dep (go-gitea#35637) Fix merge panic (go-gitea#35606) Bump happy-dom from 19.0.2 to 20.0.0 (go-gitea#35625) Refactor ActionRunJob parsing into a reusable function (go-gitea#35623) Fix code tag style problem and LFS view bug (go-gitea#35628) Support Actions `concurrency` syntax (go-gitea#32751) The status icon of the Action step is consistent with GitHub (go-gitea#35618) Mock external service in hcaptcha TestCaptcha (go-gitea#35604) Fix inputing review comment will remove reviewer (go-gitea#35591) [skip ci] Updated translations via Crowdin Fix diffpatch API endpoint (go-gitea#35610) Print PR-Title into tooltip for actions (go-gitea#35579)
@wxiaoguang Are we gonna do a rc release, so that the |
It has been backported to 1.25 by " Fix diffpatch API endpoint #35613 ", but I think it isn't in the RC. You can use 1.25-nightly (newer than RC, should be stable enough, and will be 1.25.0 soon) |
Thanks, that worked for now 👍 |
Updates the swagger documentation for the
diffpatch
API endpoint.The request body is corrected from the outdated
UpdateFileOptions
to the currentApplyDiffPatchOptions
to match the code implementation.Closes issue#35602