Modify stack_name regular expression in Orchestration API

The stack_name in request must match some regular expression, but
the code implementation and document description is inconsistent.

Change-Id: I02c09d2624253d9ce19735dbe745ff4d3321332d
Closes-Bug: #1671126
changes/19/443419/1
liyi 6 years ago committed by liyi
parent 0e14807eb4
commit 990f484962
  1. 4
      api-ref/source/v1/parameters.yaml

@ -1342,7 +1342,7 @@ stack_name:
A name for the stack. The value must be unique within a project.
The name must start with an ASCII letter and can contain ASCII letters,
digits, underscores, periods, and hyphens. Specifically, the name must
match the ``^[a-zA-Z][a-zA-Z0-9_.-]*$`` regular expression.
match the ``^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$`` regular expression.
When you delete or abandon a stack, its name will not become available
for reuse until the deletion completes successfully.
@ -1354,7 +1354,7 @@ stack_name_request:
A name for the stack. The value must be unique within a project.
The name must start with an ASCII letter and can contain ASCII letters,
digits, underscores, periods, and hyphens. Specifically, the name must
match the ``^[a-zA-Z][a-zA-Z0-9_.-]*$`` regular expression.
match the ``^[a-zA-Z][a-zA-Z0-9_.-]{0,254}$`` regular expression.
When you delete or abandon a stack, its name will not become available
for reuse until the deletion completes successfully.

Loading…
Cancel
Save