Skip to content
Snippets Groups Projects
Commit bcf57ab0 authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

update

parent e3769bb8
No related branches found
No related tags found
2 merge requests!26Swagger,!25swagger updates
......@@ -12,19 +12,15 @@ import (
var GetGddValues = services.GetGddValues
// GetDailyGdd godoc
<<<<<<< controllers/gdd_controller.go
// @Summary Get GDD Values for given year
// @Tags Gdd, public
// @Security ApiKeyAuth
=======
// @Summary Get gdd values
// @Tags Gdd, public
// @Description get gdd values
>>>>>>> controllers/gdd_controller.go
// @Accept json
// @Produce json
// @Success 200 {object} models.GddResponse
// @Failure 400 {object} errors.StandardError
// @Failure 404 {object} errors.StandardError
// @Failure 500 {object} errors.StandardError
// @Param year query int true "Year to get gdd for"
// @Param product query string true "Crop to calculate gdd for" Enums(corn)
// @Param latitude query number true "Latitude to search for"
......@@ -46,6 +42,8 @@ func GetDailyGdd(c *fiber.Ctx) error {
// @Produce json
// @Success 200 {object} models.GddResponse
// @Failure 400 {object} errors.StandardError
// @Failure 404 {object} errors.StandardError
// @Failure 500 {object} errors.StandardError
// @Param product query string true "Crop to calculate gdd for" Enums(corn)
// @Param latitude query number true "Latitude to search for"
// @Param longitude query number true "Longitude to search for"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment