Skip to content

Commit 8b190e4

Browse files
addressed PR comments
1 parent 1f45037 commit 8b190e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/promotions.v3.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,32 +323,32 @@ paths:
323323
prefix:
324324
pattern: '[A-Z0-9_-]'
325325
type: string
326-
description: 'The fixed text that will appear at the beginning of every generated coupon code. Only capital letters, numbers, underscores and hyphens are allowed.'
326+
description: The fixed text that will appear at the beginning of every generated coupon code. Only capital letters, numbers, underscores and hyphens are allowed.
327327
example: PRE
328328
maxLength: 20
329329
suffix:
330330
pattern: '[A-Z0-9_-]'
331331
type: string
332-
description: 'The fixed text that will appear at the end of every generated coupon code. Only capital letters, numbers, underscores and hyphens are allowed.'
332+
description: The fixed text that will appear at the end of every generated coupon code. Only capital letters, numbers, underscores and hyphens are allowed.
333333
example: POST
334334
maxLength: 20
335335
delimiter:
336336
pattern: '[_-]'
337337
type: string
338-
description: 'An optional single character (_ or -) that will be placed between the prefix and the randomly generated code, and again between the randomly generated code and the suffix. It will only be applied if a valid prefix or suffix is present.'
338+
description: An optional single character (_ or -) that will be placed between the prefix and the randomly generated code, and again between the randomly generated code and the suffix. It will only be applied if a valid prefix or suffix is present.
339339
example: _
340340
maxLength: 1
341341
exclude_characters:
342342
type: array
343343
items:
344344
type: string
345345
pattern: '[A-Z0-9]'
346-
description: 'An optional array of single length string elements to exclude from the generated coupon codes. Only capital letters and numbers are allowed. The default value is an empty array [].'
346+
description: An optional array of single length string elements to exclude from the generated coupon codes. Only capital letters and numbers are allowed. The default value is an empty array [].
347347
example: ["1", "2", "3", "4", "5", "A", "B", "C", "D", "E"]
348348
maxLength: 26
349349
code_length:
350350
type: integer
351-
description: 'The length of the random string to be generated for each coupon code. The value must be between 6 and 16. The default length is 16. The total length of each generated coupon code is calculated as: `code_length` + length of `prefix` + length of `suffix`. The maximum total length of a coupon code is 50.'
351+
description: The length of the random string to be generated for each coupon code. The value must be between 6 and 16. The default length is 16. The total length of each generated coupon code is calculated as `:` code_length + length of prefix with delimiter + length of suffix with delimiter. The maximum total length of a coupon code is 50.
352352
example: 10
353353
minimum: 6
354354
maximum: 16

0 commit comments

Comments
 (0)