aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/moon_manager/api/meta_data.py
diff options
context:
space:
mode:
authorAsteroide <thomas.duval@orange.com>2018-05-07 11:43:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-07 11:43:02 +0000
commita89a8e0738ab597d80d29964a137d7f3eb9fb9a5 (patch)
tree252fec61c750b8f2eb56affa57581b3827d65d81 /moon_manager/moon_manager/api/meta_data.py
parentf1d3e269b87bdbfa10997606c04916bc3f36edfb (diff)
parent5f97343ea8fab5db3cf1584322a75d25d583406f (diff)
Merge "Update documentation to show which parameter is mandatory or not."
Diffstat (limited to 'moon_manager/moon_manager/api/meta_data.py')
-rw-r--r--moon_manager/moon_manager/api/meta_data.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/moon_manager/moon_manager/api/meta_data.py b/moon_manager/moon_manager/api/meta_data.py
index 104f26be..3fc18ee3 100644
--- a/moon_manager/moon_manager/api/meta_data.py
+++ b/moon_manager/moon_manager/api/meta_data.py
@@ -59,7 +59,7 @@ class SubjectCategories(Resource):
:param category_id: must not be used here
:param user_id: user ID who do the request
:request body: {
- "name": "name of the category",
+ "name": "name of the category (mandatory)",
"description": "description of the category (optional)"
}
:return: {
@@ -142,7 +142,7 @@ class ObjectCategories(Resource):
:param category_id: must not be used here
:param user_id: user ID who do the request
:request body: {
- "name": "name of the category",
+ "name": "name of the category (mandatory)",
"description": "description of the category (optional)"
}
:return: {
@@ -225,7 +225,7 @@ class ActionCategories(Resource):
:param category_id: must not be used here
:param user_id: user ID who do the request
:request body: {
- "name": "name of the category",
+ "name": "name of the category (mandatory)",
"description": "description of the category (optional)"
}
:return: {