From d5ecdb98386e4b20b328c2319c0c926c2845cee3 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Sun, 18 Dec 2022 13:55:39 +1030 Subject: [PATCH] Update swagger.json --- swagger/v1/swagger.json | 155 +++++++++++++++++++--------------------- 1 file changed, 74 insertions(+), 81 deletions(-) diff --git a/swagger/v1/swagger.json b/swagger/v1/swagger.json index 575c5423a..9ac938a56 100644 --- a/swagger/v1/swagger.json +++ b/swagger/v1/swagger.json @@ -125,32 +125,32 @@ "name": { "type": "string", "x-nullable": false, - "description": null + "description": "Name" }, "en_wikipedia_url": { "type": "string", "x-nullable": true, - "description": null + "description": "Wikipedia URL (English)" }, "perennial": { "type": "boolean", "x-nullable": true, - "description": null + "description": "Is the item perennial? (A plant that lives more than two years)" }, "median_lifespan": { "type": "integer", "x-nullable": true, - "description": null + "description": "Median lifespan" }, "median_days_to_first_harvest": { "type": "integer", "x-nullable": true, - "description": null + "description": "Median days to first harvest" }, "median_days_to_last_harvest": { "type": "integer", "x-nullable": true, - "description": null + "description": "Median days to last harvest" } }, "description": "Attributes" @@ -364,13 +364,6 @@ "type": "string", "description": "Display field", "required": false - }, - { - "name": "fields[crops]", - "in": "query", - "type": "string", - "description": "Display field", - "required": false } ], "responses": { @@ -406,32 +399,32 @@ "name": { "type": "string", "x-nullable": false, - "description": null + "description": "Name" }, "en_wikipedia_url": { "type": "string", "x-nullable": true, - "description": null + "description": "Wikipedia URL (English)" }, "perennial": { "type": "boolean", "x-nullable": true, - "description": null + "description": "Is the item perennial? (A plant that lives more than two years)" }, "median_lifespan": { "type": "integer", "x-nullable": true, - "description": null + "description": "Median lifespan" }, "median_days_to_first_harvest": { "type": "integer", "x-nullable": true, - "description": null + "description": "Median days to first harvest" }, "median_days_to_last_harvest": { "type": "integer", "x-nullable": true, - "description": null + "description": "Median days to last harvest" } }, "description": "Attributes" @@ -659,7 +652,7 @@ "name": { "type": "string", "x-nullable": false, - "description": null + "description": "Name" } }, "description": "Attributes" @@ -861,7 +854,7 @@ "name": { "type": "string", "x-nullable": false, - "description": null + "description": "Name" } }, "description": "Attributes" @@ -1077,12 +1070,12 @@ "login_name": { "type": "string", "x-nullable": true, - "description": null + "description": "Login name" }, "slug": { "type": "string", "x-nullable": true, - "description": null + "description": "Slug" } }, "description": "Attributes" @@ -1338,12 +1331,12 @@ "login_name": { "type": "string", "x-nullable": true, - "description": null + "description": "Login name" }, "slug": { "type": "string", "x-nullable": true, - "description": null + "description": "Slug" } }, "description": "Attributes" @@ -1578,32 +1571,32 @@ "harvested_at": { "type": "string", "x-nullable": true, - "description": null + "description": "Harvested date time" }, "description": { "type": "string", "x-nullable": true, - "description": null + "description": "Description" }, "unit": { "type": "string", "x-nullable": true, - "description": null + "description": "Unit" }, "weight_quantity": { "type": "string", "x-nullable": true, - "description": null + "description": "Weight/Quanitity" }, "weight_unit": { "type": "string", "x-nullable": true, - "description": null + "description": "Weight Unit" }, "si_weight": { "type": "string", "x-nullable": true, - "description": null + "description": "SI Weight" } }, "description": "Attributes" @@ -1832,32 +1825,32 @@ "harvested_at": { "type": "string", "x-nullable": true, - "description": null + "description": "Harvested datetime" }, "description": { "type": "string", "x-nullable": true, - "description": null + "description": "Description" }, "unit": { "type": "string", "x-nullable": true, - "description": null + "description": "Unit" }, "weight_quantity": { "type": "string", "x-nullable": true, - "description": null + "description": "Weight/Quantity" }, "weight_unit": { "type": "string", "x-nullable": true, - "description": null + "description": "Weight Unit" }, "si_weight": { "type": "string", "x-nullable": true, - "description": null + "description": "SI Weight" } }, "description": "Attributes" @@ -2058,47 +2051,47 @@ "description": { "type": "string", "x-nullable": true, - "description": null + "description": "Description" }, "quantity": { "type": "integer", "x-nullable": true, - "description": null + "description": "Quanitity" }, "plant_before": { "type": "string", "x-nullable": true, - "description": null + "description": "Plant before" }, "tradable_to": { "type": "string", "x-nullable": true, - "description": null + "description": "Tradeable to" }, "days_until_maturity_min": { "type": "integer", "x-nullable": true, - "description": null + "description": "Days until maturity (min)" }, "days_until_maturity_max": { "type": "integer", "x-nullable": true, - "description": null + "description": "Days until maturity (max)" }, "organic": { "type": "string", "x-nullable": true, - "description": null + "description": "Organic" }, "gmo": { "type": "string", "x-nullable": true, - "description": null + "description": "GMO" }, "heirloom": { "type": "string", "x-nullable": true, - "description": null + "description": "Heirloom" } }, "description": "Attributes" @@ -2273,47 +2266,47 @@ "description": { "type": "string", "x-nullable": true, - "description": null + "description": "Description" }, "quantity": { "type": "integer", "x-nullable": true, - "description": null + "description": "Quanity" }, "plant_before": { "type": "string", "x-nullable": true, - "description": null + "description": "Plant before" }, "tradable_to": { "type": "string", "x-nullable": true, - "description": null + "description": "Tradable to" }, "days_until_maturity_min": { "type": "integer", "x-nullable": true, - "description": null + "description": "Days until maturity (min)" }, "days_until_maturity_max": { "type": "integer", "x-nullable": true, - "description": null + "description": "Days until maturity (max)" }, "organic": { "type": "string", "x-nullable": true, - "description": null + "description": "Organic" }, "gmo": { "type": "string", "x-nullable": true, - "description": null + "description": "GMO" }, "heirloom": { "type": "string", "x-nullable": true, - "description": null + "description": "Heirloom" } }, "description": "Attributes" @@ -2530,42 +2523,42 @@ "slug": { "type": "string", "x-nullable": true, - "description": null + "description": "Slug" }, "planted_at": { "type": "string", "x-nullable": true, - "description": null + "description": "Planted at" }, "finished": { "type": "boolean", "x-nullable": false, - "description": null + "description": "Finished?" }, "finished_at": { "type": "string", "x-nullable": true, - "description": null + "description": "Finished at" }, "quantity": { "type": "integer", "x-nullable": true, - "description": null + "description": "Quanity" }, "description": { "type": "string", "x-nullable": true, - "description": null + "description": "Description" }, "sunniness": { "type": "string", "x-nullable": true, - "description": null + "description": "Sunniness" }, "planted_from": { "type": "string", "x-nullable": true, - "description": null + "description": "Planted from" } }, "description": "Attributes" @@ -2794,42 +2787,42 @@ "slug": { "type": "string", "x-nullable": true, - "description": null + "description": "Slug" }, "planted_at": { "type": "string", "x-nullable": true, - "description": null + "description": "Planted at" }, "finished": { "type": "boolean", "x-nullable": false, - "description": null + "description": "Finished?" }, "finished_at": { "type": "string", "x-nullable": true, - "description": null + "description": "Finished at" }, "quantity": { "type": "integer", "x-nullable": true, - "description": null + "description": "Quantity" }, "description": { "type": "string", "x-nullable": true, - "description": null + "description": "Description" }, "sunniness": { "type": "string", "x-nullable": true, - "description": null + "description": "Sunniness" }, "planted_from": { "type": "string", "x-nullable": true, - "description": null + "description": "Planted from" } }, "description": "Attributes" @@ -3044,27 +3037,27 @@ "thumbnail_url": { "type": "string", "x-nullable": false, - "description": null + "description": "Thumbnail URL" }, "fullsize_url": { "type": "string", "x-nullable": false, - "description": null + "description": "Full-size URL" }, "license_name": { "type": "string", "x-nullable": false, - "description": null + "description": "License name" }, "link_url": { "type": "string", "x-nullable": false, - "description": null + "description": "Link URL" }, "title": { "type": "string", "x-nullable": false, - "description": null + "description": "Title" } }, "description": "Attributes" @@ -3293,27 +3286,27 @@ "thumbnail_url": { "type": "string", "x-nullable": false, - "description": null + "description": "Thumbnail URL" }, "fullsize_url": { "type": "string", "x-nullable": false, - "description": null + "description": "Full-size URL" }, "license_name": { "type": "string", "x-nullable": false, - "description": null + "description": "License name" }, "link_url": { "type": "string", "x-nullable": false, - "description": null + "description": "Link URL" }, "title": { "type": "string", "x-nullable": false, - "description": null + "description": "Title" } }, "description": "Attributes"