Skip to content

Commit c25f9bf

Browse files
authored
Merge pull request #174 from armatronic/task-master/SA-19820-api-docs
Add messageParams to release notes [SA-19820]
2 parents cdfd387 + 91674a4 commit c25f9bf

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

openapi/components/requestBodies/userNotify.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,22 @@ content:
1010
type: string
1111
description: |
1212
The content of the notification message.
13+
14+
May contain placeholder values, preceded with a `:` character
15+
(e.g. `:placeholderName`): these will be replaced with the
16+
corresponding value in `messageParams`.
1317
example: |
14-
Checkout the 22.1 Release notes
18+
Checkout the :version Release notes
19+
messageParams:
20+
type: object
21+
additionalProperties:
22+
type: string
23+
description: |
24+
A set of key-value pairs: each key should match a placeholder in
25+
`message`, and its corresponding value will replace that placeholder
26+
in the final message.
27+
example:
28+
version: '25.0'
1529
from:
1630
type: object
1731
properties:

0 commit comments

Comments
 (0)