mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +00:00
Update packages api docs
This commit is contained in:
+5
-4
@@ -4,12 +4,13 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
// @Summary TODO
|
// @Summary Show packages
|
||||||
// @Description **ToDo**
|
// @Description **Show information about package by package key**
|
||||||
// @Description To Do
|
// @Description Package keys could be obtained from various GET .../packages APIs.
|
||||||
// @Tags Packages
|
// @Tags Packages
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Success 200 {object} string "msg"
|
// @Param key path string true "package key (unique package identifier)"
|
||||||
|
// @Success 200 {object} deb.Package "OK"
|
||||||
// @Failure 404 {object} Error "Not Found"
|
// @Failure 404 {object} Error "Not Found"
|
||||||
// @Router /api/packages/{key} [get]
|
// @Router /api/packages/{key} [get]
|
||||||
func apiPackagesShow(c *gin.Context) {
|
func apiPackagesShow(c *gin.Context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user