mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-08 20:37:43 +00:00
8873150206
The `CommitList` and `ChangedFileList` swagger responses documented an `X-Total` response header that their endpoints never send, they send `X-Total-Count` via `SetTotalCountHeader`. This renames the documented header and regenerates the spec. `repoGetAllCommits` also uses `CommitList` and sends both headers, so the new name is accurate for all three endpoints. Also corrects `ChangedFileList` describing its headers as commit counts. Documentation only, no handler behaviour changes. Fixes https://github.com/go-gitea/gitea/issues/22048 --------- Signed-off-by: davidpavlovschi <davidpavlov2048@gmail.com> Co-authored-by: silverwind <me@silverwind.io>