0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-20 22:14:50 +01:00
HeCorr c49823c2b6
api: respect DISABLE_STARS config option
- add APIGone response type
- re-generate Swagger spec

if stars are disabled:
  - render 404 page on /repo/stars
  - return 410 error on star-related API endpoints and actions
  - return empty value on star model functions (StarRepo, IsStaring, GetStargazers)
2025-01-10 20:01:33 -03:00
..
2024-12-24 13:47:45 +00:00
2025-01-03 00:32:02 +08:00