From 3e2588da594a2290fbfcc2845c7692f1cc7cb218 Mon Sep 17 00:00:00 2001 From: icanotc <44480394+icanotc@users.noreply.github.com> Date: Wed, 23 Aug 2023 04:57:32 -0400 Subject: [PATCH] added godoc for HandleGenerateQRCodeForLocations() --- backend/app/api/handlers/v1/v1_ctrl_qrcode.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/backend/app/api/handlers/v1/v1_ctrl_qrcode.go b/backend/app/api/handlers/v1/v1_ctrl_qrcode.go index 694f858..40a5c11 100644 --- a/backend/app/api/handlers/v1/v1_ctrl_qrcode.go +++ b/backend/app/api/handlers/v1/v1_ctrl_qrcode.go @@ -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 {