feat(docs): First model for swagger
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user