fix: removed quotation marks from enum in swagger docs (#1539)

Signed-off-by: Lisca Ana-Roberta <ana.kagome@yahoo.com>
This commit is contained in:
Lisca Ana-Roberta
2023-06-20 15:32:19 +03:00
committed by GitHub
parent d30d7a9330
commit aab149610f
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ func SetupUserPreferencesRoutes(config *config.Config, router *mux.Router, store
// @Router /v2/_zot/ext/userprefs [put]
// @Accept json
// @Produce json
// @Param action query string true "specify action" Enums("toggleBookmark", "toggleStar")
// @Param action query string true "specify action" Enums(toggleBookmark, toggleStar)
// @Param repo query string true "repository name"
// @Success 200 {string} string "ok"
// @Failure 404 {string} string "not found"