summaryrefslogtreecommitdiff
path: root/api-ref/source
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-05-27 07:46:48 +0000
committerGerrit Code Review <review@openstack.org>2016-05-27 07:46:49 +0000
commita3aa9550858d9fd8e8fa123027c2fe007393ab83 (patch)
treeb79e401faa5ff893ba3f58f162fc64748e20a3c8 /api-ref/source
parent5b2bcd8b2e66d46cfbc85229b6811731a9832f6c (diff)
parent42bfc8a282ae562b11e76ca2cd6aa02a1d7a129f (diff)
downloadheat-a3aa9550858d9fd8e8fa123027c2fe007393ab83.tar.gz
Merge "Add to resource-type-list returning description"
Diffstat (limited to 'api-ref/source')
-rw-r--r--api-ref/source/v1/parameters.yaml13
-rw-r--r--api-ref/source/v1/stack-templates.inc3
2 files changed, 14 insertions, 2 deletions
diff --git a/api-ref/source/v1/parameters.yaml b/api-ref/source/v1/parameters.yaml
index e97359e4b..e316c569d 100644
--- a/api-ref/source/v1/parameters.yaml
+++ b/api-ref/source/v1/parameters.yaml
@@ -1589,4 +1589,15 @@ updated_time_3:
in: body
required: true
type: string
-
+with_description:
+ description: |
+ Either display resource type's description or not. Default is ``false``
+ in: query
+ required: false
+ type: boolean
+resource_description:
+ description: |
+ Displays resource type's description.
+ in: body
+ required: false
+ type: string
diff --git a/api-ref/source/v1/stack-templates.inc b/api-ref/source/v1/stack-templates.inc
index aa5e229f6..f686e2c0e 100644
--- a/api-ref/source/v1/stack-templates.inc
+++ b/api-ref/source/v1/stack-templates.inc
@@ -28,6 +28,7 @@ Request
- name: name
- version: version
- support_status: support_status
+ - with_description: with_description
Response Parameters
@@ -38,7 +39,7 @@ Response Parameters
- template_versions: template_versions
- type: type
- version: version
-
+ - description: resource_description
Response Example