mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-17 19:08:13 +00:00
fix conflict
This commit is contained in:
@@ -102,7 +102,6 @@ func apiPublishList(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, repos)
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
// @Summary Show Published Repository
|
||||
// @Description **Get published repository information**
|
||||
// @Description
|
||||
@@ -118,17 +117,6 @@ func apiPublishList(c *gin.Context) {
|
||||
// @Failure 500 {object} Error "Internal Error"
|
||||
// @Router /api/publish/{prefix}/{distribution} [get]
|
||||
func apiPublishShow(c *gin.Context) {
|
||||
=======
|
||||
// @Summary TODO
|
||||
// @Description **ToDo**
|
||||
// @Description To Do
|
||||
// @Tags Publish
|
||||
// @Produce json
|
||||
// @Success 200 {object} string "msg"
|
||||
// @Failure 404 {object} Error "Not Found"
|
||||
// @Router /api/publish/{prefix} [post]
|
||||
func apiPublishRepoOrSnapshot(c *gin.Context) {
|
||||
>>>>>>> d237283f (add api documentation stubs)
|
||||
param := slashEscape(c.Params.ByName("prefix"))
|
||||
storage, prefix := deb.ParsePrefix(param)
|
||||
distribution := slashEscape(c.Params.ByName("distribution"))
|
||||
|
||||
Reference in New Issue
Block a user