API: Improve Swagger annotations and update swagger.json

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-10-30 11:47:40 +01:00
parent 5ea9f3bc4e
commit f2eebe2912
4 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ var swaggerJSON []byte
//
// @Summary serves embedded Swagger documentation (debug builds only)
// @Id GetDocs
// @Tags System
// @Tags Debug
// @Produce json
// @Success 200 {object} gin.H "Swagger JSON"
// @Router /swagger.json [get]