diff --git a/routes.js b/routes.js index 25f339efd454c5f5db2d3139f7a5a0491cc825cd..6a757916b1fa3fd4ebeff45fac730c81c55d53e1 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)