mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 07:40:28 +00:00
added godoc for HandleGenerateQRCodeForLocations()
This commit is contained in:
parent
f116683e4c
commit
3e2588da59
1 changed files with 8 additions and 2 deletions
|
@ -85,8 +85,14 @@ func (ctrl *V1Controller) HandleGenerateQRCode() errchain.HandlerFunc {
|
|||
|
||||
// HandleGenerateQRCodeForLocations godoc
|
||||
//
|
||||
// @Summary Create PDF of QR codes of a location
|
||||
|
||||
// @Summary Create PDF of QR codes of a location
|
||||
// @Tags Items
|
||||
// @Produce pdf
|
||||
// @Param location_id path string true "UUID of the location"
|
||||
// @Param page query PageQuery true "query info for how the QR codes are generated"
|
||||
// @Success 200 {string} string "application/pdf"
|
||||
// @Router /v1/qrcode/{location_id} [GET]
|
||||
// @Security Bearer
|
||||
func (ctrl *V1Controller) HandleGenerateQRCodeForLocations() errchain.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) error {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue