docs(swagger): Move security annotations

This commit is contained in:
2024-12-12 16:33:10 +01:00
parent 649ac2a3c2
commit 69f4de6739
7 changed files with 44 additions and 18 deletions

View File

@@ -16,6 +16,7 @@ import (
// @Accept json
// @Param data body models.ContractRequest true "Contract data"
// @Produce application/pdf
// @Security ApiKeyAuth
// @Router /v1/pdfs/contracts [post]
func (h *DefaultHandler) GenerateContract(c *fiber.Ctx) error {
contract := new(models.ContractRequest)