Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dawn-gdd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
dawn
go-backend
dawn-gdd
Compare revisions
845123ef858d2b1d2d65c1bc4c8f1cbe3047b7df to 66c8f33648a36c128e90f9ac90b182bb8e7e8f61
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
dawn/go-backend/dawn-gdd
Select target project
No results found
66c8f33648a36c128e90f9ac90b182bb8e7e8f61
Select Git revision
Swap
Target
dawn/go-backend/dawn-gdd
Select target project
dawn/go-backend/dawn-gdd
1 result
845123ef858d2b1d2d65c1bc4c8f1cbe3047b7df
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
swagger updates
· e452ecae
Tucker Gary Siegel
authored
2 years ago
e452ecae
Merge branch 'swagger' into 'develop'
· e0e26fa7
Tucker Gary Siegel
authored
2 years ago
swagger updates See merge request
!25
e0e26fa7
auto-generated changelog
· 66c8f336
Tucker Gary Siegel
authored
2 years ago
66c8f336
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog/1.0.4.yaml
+6
-0
6 additions, 0 deletions
changelog/1.0.4.yaml
controllers/gdd_controller.go
+4
-6
4 additions, 6 deletions
controllers/gdd_controller.go
with
10 additions
and
6 deletions
changelog/1.0.4.yaml
0 → 100644
View file @
66c8f336
author
:
tgsiegel
change_type
:
Chore
commit
:
swagger updates
date
:
'
2023-03-16'
merge_request
:
https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd/-/merge_requests/25
version
:
1.0.4
This diff is collapsed.
Click to expand it.
controllers/gdd_controller.go
View file @
66c8f336
...
@@ -12,19 +12,15 @@ import (
...
@@ -12,19 +12,15 @@ import (
var
GetGddValues
=
services
.
GetGddValues
var
GetGddValues
=
services
.
GetGddValues
// GetDailyGdd godoc
// GetDailyGdd godoc
<<<<<<<
controllers
/
gdd_controller
.
go
// @Summary Get GDD Values for given year
// @Summary Get GDD Values for given year
// @Tags Gdd, public
// @Tags Gdd, public
// @Security ApiKeyAuth
// @Security ApiKeyAuth
=======
// @Summary Get gdd values
// @Tags Gdd, public
// @Description get gdd values
>>>>>>>
controllers
/
gdd_controller
.
go
// @Accept json
// @Accept json
// @Produce json
// @Produce json
// @Success 200 {object} models.GddResponse
// @Success 200 {object} models.GddResponse
// @Failure 400 {object} errors.StandardError
// @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 year query int true "Year to get gdd for"
// @Param product query string true "Crop to calculate gdd for" Enums(corn)
// @Param product query string true "Crop to calculate gdd for" Enums(corn)
// @Param latitude query number true "Latitude to search for"
// @Param latitude query number true "Latitude to search for"
...
@@ -46,6 +42,8 @@ func GetDailyGdd(c *fiber.Ctx) error {
...
@@ -46,6 +42,8 @@ func GetDailyGdd(c *fiber.Ctx) error {
// @Produce json
// @Produce json
// @Success 200 {object} models.GddResponse
// @Success 200 {object} models.GddResponse
// @Failure 400 {object} errors.StandardError
// @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 product query string true "Crop to calculate gdd for" Enums(corn)
// @Param latitude query number true "Latitude to search for"
// @Param latitude query number true "Latitude to search for"
// @Param longitude query number true "Longitude to search for"
// @Param longitude query number true "Longitude to search for"
...
...
This diff is collapsed.
Click to expand it.