fix swagger errors

This commit is contained in:
chesseed
2025-10-09 21:26:30 +02:00
committed by André Roth
parent 26912de151
commit e26d1babd4
3 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -217,10 +217,9 @@ type snapshotsCreateFromRepositoryParams struct {
// @Summary Snapshot Repository
// @Description **Create a snapshot of a repository by name**
// @Tags Snapshots
// @Param name path string true "Repository name"
// @Consume json
// @Param request body snapshotsCreateFromRepositoryParams true "Parameters"
// @Param name path string true "Name of the snapshot"
// @Param name path string true "Repository name"
// @Param _async query bool false "Run in background and return task object"
// @Produce json
// @Success 201 {object} deb.Snapshot "Created snapshot object"