API: Add "@Accept json" Swagger doc annotations where applicable

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-01-19 15:26:18 +01:00
parent 8c8e5c9f52
commit beef2e0c63
20 changed files with 216 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ import (
// @Summary removes a file from storage
// @Id DeleteFile
// @Tags Files
// @Accept json
// @Produce json
// @Success 200 {object} entity.Photo
// @Failure 401,403,404,429,500 {object} i18n.Response