Skip to content
Snippets Groups Projects
Commit c1144a91 authored by tuckersiegel's avatar tuckersiegel
Browse files

cleanup swagger

parent efb2b2be
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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