feat(docs): Swagger generation
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user