feat(docs): First model for swagger

This commit is contained in:
niggl committed 2024-12-02 17:26:03 +01:00
1 parent 7d571ad46b
commit 13e9c88a8e
5 files changed
+173

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ import "github.com/gofiber/fiber/v2"
// @Description Generate a contract based on the provided data
// @Tags contracts
// @Accept json
// @Param data body models.Contract true "Contract data"
// @Produce application/pdf
// @Router /contracts [post]
func GenerateContract(c *fiber.Ctx) error {