mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Improve Swagger annotations and update swagger.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
//
|
||||
// @Summary searches the error logs and returns the results as JSON
|
||||
// @Id GetErrors
|
||||
// @Tags Errors
|
||||
// @Tags Logs
|
||||
// @Produce json
|
||||
// @Success 200 {object} entity.Error
|
||||
// @Failure 401,403,429,400 {object} i18n.Response
|
||||
@@ -54,7 +54,7 @@ func GetErrors(router *gin.RouterGroup) {
|
||||
//
|
||||
// @Summary removes all entries from the error logs
|
||||
// @Id DeleteErrors
|
||||
// @Tags Errors
|
||||
// @Tags Logs
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Failure 401,403,429,500 {object} i18n.Response
|
||||
|
||||
Reference in New Issue
Block a user