From 9abbd74a9f7508fe59449973a0dc84dd019c3db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Sat, 21 Dec 2024 20:23:52 +0100 Subject: [PATCH] improve doc do not set default value for FromSnapshot when creating a repo --- api/repos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/repos.go b/api/repos.go index 43a19cc9..4cc04f69 100644 --- a/api/repos.go +++ b/api/repos.go @@ -94,7 +94,7 @@ type repoCreateParams struct { // Default component when publishing from this local repo DefaultComponent string ` json:"DefaultComponent" example:"main"` // Snapshot name to create repoitory from (optional) - FromSnapshot string ` json:"FromSnapshot" example:"snapshot1"` + FromSnapshot string ` json:"FromSnapshot" example:""` } // @Summary Create Repository