mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
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:
committed by
GitHub
parent
d30d7a9330
commit
aab149610f
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user