Skip to content

Commit

Permalink
swagger doc: fix body params
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Oct 3, 2024
1 parent a324b62 commit 4013873
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions api/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,20 +329,20 @@ func apiMirrorsPackages(c *gin.Context) {
// @Consume json
// @Produce json
// @Param name path string true "mirror name to update"
// @Param Name query string false "change mirror name"
// @Param ArchiveURL query string false "ArchiveURL"
// @Param Filter query string false "Filter"
// @Param Architectures query []string false "Architectures"
// @Param Components query []string false "Components"
// @Param Keyrings query []string false "Keyrings"
// @Param FilterWithDeps query bool false "FilterWithDeps"
// @Param DownloadSources query bool false "DownloadSources"
// @Param DownloadUdebs query bool false "DownloadUdebs"
// @Param SkipComponentCheck query bool false "SkipComponentCheck"
// @Param IgnoreChecksums query bool false "IgnoreChecksums"
// @Param IgnoreSignatures query bool false "IgnoreSignatures"
// @Param ForceUpdate query bool false "ForceUpdate"
// @Param SkipExistingPackages query bool false "SkipExistingPackages"
// @Param Name body string false "change mirror name"
// @Param ArchiveURL body string false "ArchiveURL"
// @Param Filter body string false "Filter"
// @Param Architectures body []string false "Architectures"
// @Param Components body []string false "Components"
// @Param Keyrings body []string false "Keyrings"
// @Param FilterWithDeps body bool false "FilterWithDeps"
// @Param DownloadSources body bool false "DownloadSources"
// @Param DownloadUdebs body bool false "DownloadUdebs"
// @Param SkipComponentCheck body bool false "SkipComponentCheck"
// @Param IgnoreChecksums body bool false "IgnoreChecksums"
// @Param IgnoreSignatures body bool false "IgnoreSignatures"
// @Param ForceUpdate body bool false "ForceUpdate"
// @Param SkipExistingPackages body bool false "SkipExistingPackages"
// @Success 200 {object} task.ProcessReturnValue "Mirror was updated successfully"
// @Success 202 {object} task.Task "Mirror is being updated"
// @Failure 400 {object} Error "Unable to determine list of architectures"
Expand Down

0 comments on commit 4013873

Please sign in to comment.