Skip to content

Commit 6cf4a15

Browse files
committed
test: overlay-multiline-description
1 parent ce6e414 commit 6cf4a15

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

test/overlay-multiline-description/input.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ info:
33
title: Test API
44
version: 1.0.0
55
description: Original description
6-
paths: {}
6+
paths:
7+
/test:
8+
get:
9+
description: Old path description
10+
responses:
11+
'200':
12+
description: OK

test/overlay-multiline-description/output.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@ info:
66
First line of markdown content.
77
88
Second line of markdown content.
9-
paths: {}
9+
paths:
10+
/test:
11+
get:
12+
description: |-
13+
Path description line 1.
14+
15+
Path description line 2.
16+
responses:
17+
'200':
18+
description: OK

test/overlay-multiline-description/overlay.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ actions:
55
First line of markdown content.
66
77
Second line of markdown content.
8+
- target: $.paths['/test'].get
9+
update:
10+
description: |-
11+
Path description line 1.
12+
13+
Path description line 2.

0 commit comments

Comments
 (0)