From a444d7718d872d491335200176dffaa65ffd0fd8 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Thu, 30 Mar 2017 10:20:38 +0100 Subject: [PATCH] Fix docs for length constraint supported types This constraint actually supports list/map parameters not only string Change-Id: I68a9a98c3843e08199b6126d643c532a19372262 --- doc/source/template_guide/hot_spec.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/source/template_guide/hot_spec.rst b/doc/source/template_guide/hot_spec.rst index 68429511f9..cb3a5c80bc 100644 --- a/doc/source/template_guide/hot_spec.rst +++ b/doc/source/template_guide/hot_spec.rst @@ -532,8 +532,10 @@ with the concrete syntax for each type. length ++++++ The ``length`` constraint applies to parameters of type -``string``. It defines a lower and upper limit for the length of the -string value. +``string``, ``comma_delimited_list`` and ``json``. + +It defines a lower and upper limit for the length of the string value or +list/map collection. The syntax of the ``length`` constraint is