From: Steve Baker Date: Fri, 16 Aug 2013 03:21:55 +0000 (+1200) Subject: Allow Description in properties schema X-Git-Tag: 2014.1~187^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a0d3536ac5f132d9d4220c8a2bb3cdc324121581;p=openstack-build%2Fheat-build.git Allow Description in properties schema The resource document generation already expects and uses any supplied Description text. Change-Id: Ife31cd99f6ff88345c3c06e3efeb4b3393e6351b --- diff --git a/heat/engine/properties.py b/heat/engine/properties.py index fe0c6e19..eb244949 100644 --- a/heat/engine/properties.py +++ b/heat/engine/properties.py @@ -22,11 +22,11 @@ from heat.engine import parameters SCHEMA_KEYS = ( REQUIRED, IMPLEMENTED, DEFAULT, TYPE, SCHEMA, ALLOWED_PATTERN, MIN_VALUE, MAX_VALUE, ALLOWED_VALUES, - MIN_LENGTH, MAX_LENGTH, + MIN_LENGTH, MAX_LENGTH, DESCRIPTION, ) = ( 'Required', 'Implemented', 'Default', 'Type', 'Schema', 'AllowedPattern', 'MinValue', 'MaxValue', 'AllowedValues', - 'MinLength', 'MaxLength', + 'MinLength', 'MaxLength', 'Description', ) SCHEMA_TYPES = (