feat(docs): First model for swagger

This commit is contained in:
2024-12-02 17:26:03 +01:00
parent 7d571ad46b
commit 13e9c88a8e
5 changed files with 173 additions and 0 deletions

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 {