Skip to content

Conversation

GiteaBot
Copy link
Collaborator

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

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]>
@GiteaBot GiteaBot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/bug lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 10, 2025
@GiteaBot GiteaBot added this to the 1.25.0 milestone Oct 10, 2025
@GiteaBot GiteaBot requested review from lunny and wxiaoguang October 10, 2025 00:34
@wxiaoguang wxiaoguang enabled auto-merge (squash) October 10, 2025 00:37
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 10, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 10, 2025
@lunny lunny disabled auto-merge October 10, 2025 02:57
@lunny lunny enabled auto-merge (squash) October 10, 2025 03:03
@lunny lunny merged commit b7bb0fa into go-gitea:release/v1.25 Oct 10, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants