mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Add "@Accept json" Swagger doc annotations where applicable
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -45,6 +45,7 @@ func GetConfigOptions(router *gin.RouterGroup) {
|
||||
// @Summary updates backend config options
|
||||
// @Id SaveConfigOptions
|
||||
// @Tags Config, Settings
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Success 200 {object} config.Options
|
||||
// @Failure 400,401,403,429,500 {object} i18n.Response
|
||||
|
||||
Reference in New Issue
Block a user