From a0d3536ac5f132d9d4220c8a2bb3cdc324121581 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 16 Aug 2013 15:21:55 +1200 Subject: [PATCH] Allow Description in properties schema The resource document generation already expects and uses any supplied Description text. Change-Id: Ife31cd99f6ff88345c3c06e3efeb4b3393e6351b --- heat/engine/properties.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ( -- 2.45.2