0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-19 22:27:55 +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 11:43:57 +08:00