From c1144a916527a270f8f0982f9382cfdd9509b611 Mon Sep 17 00:00:00 2001
From: tuckersiegel <siegel.tucker@gmail.com>
Date: Mon, 22 Feb 2021 19:57:25 -0500
Subject: [PATCH] cleanup swagger

---
 routes.js | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/routes.js b/routes.js
index 25f339e..6a75791 100644
--- a/routes.js
+++ b/routes.js
@@ -102,21 +102,7 @@ var gddController = require('./gddController');
  *                                                  type: string
  *                                                  example: 22.5 is out of bounds for GDD calculations. Must be between 24.083334 - 49.916668
  * 
- * 
- * 
- *                  
- *                          
- *                       
- *                          
- *          
-*/
-router.route('/:product/daily/:year')
-    .post(gddController.year_gdd)
-
-
-/**
- * @swagger 
- *  /api/{product}/normal:
+/api/{product}/normal:
  *      post:
  *          summary: Returns GDD data on a 30 year normal
  *          description: Returns GDD normals for a specific lat, and lon
@@ -197,7 +183,16 @@ router.route('/:product/daily/:year')
  *                                              message:
  *                                                  type: string
  *                                                  example: 22.5 is out of bounds for GDD calculations. Must be between 24.083334 - 49.916668
+ * 
+ * 
+ *                  
+ *                          
+ *                       
+ *                          
+ *          
 */
+router.route('/:product/daily/:year')
+    .post(gddController.year_gdd)
 
 router.route('/:product/normal')
     .post(gddController.normal)
-- 
GitLab