File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -393,7 +393,6 @@ type publishedRepoUpdateSwitchParams struct {
393393// @Description
394394// @Description See also: `aptly publish update` / `aptly publish switch`
395395// @Tags Publish
396- // @Produce json
397396// @Param prefix path string true "publishing prefix"
398397// @Param distribution path string true "distribution name"
399398// @Param _async query bool false "Run in background and return task object"
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ func apiReposPackagesDelete(c *gin.Context) {
455455// @Tags Repos
456456// @Param name path string true "Repository name"
457457// @Param dir path string true "Directory of packages"
458- // @Param file path string false "Filename (optional) "
458+ // @Param file path string true "Filename"
459459// @Param _async query bool false "Run in background and return task object"
460460// @Produce json
461461// @Success 200 {string} string "OK"
Original file line number Diff line number Diff line change @@ -217,10 +217,9 @@ type snapshotsCreateFromRepositoryParams struct {
217217// @Summary Snapshot Repository
218218// @Description **Create a snapshot of a repository by name**
219219// @Tags Snapshots
220- // @Param name path string true "Repository name"
221220// @Consume json
222221// @Param request body snapshotsCreateFromRepositoryParams true "Parameters"
223- // @Param name path string true "Name of the snapshot "
222+ // @Param name path string true "Repository name "
224223// @Param _async query bool false "Run in background and return task object"
225224// @Produce json
226225// @Success 201 {object} deb.Snapshot "Created snapshot object"
You can’t perform that action at this time.
0 commit comments