feat(docs): Swagger generation

This commit is contained in:
2024-12-02 17:13:05 +01:00
parent 3f35d35016
commit 491d31e2e9
7 changed files with 189 additions and 7 deletions

View File

@@ -2,6 +2,13 @@ package handlers
import "github.com/gofiber/fiber/v2"
// GenerateContract godoc
// @Summary Generate a contract
// @Description Generate a contract based on the provided data
// @Tags contracts
// @Accept json
// @Produce application/pdf
// @Router /contracts [post]
func GenerateContract(c *fiber.Ctx) error {
return c.SendString("Generate Contract")
}