Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/overlay-multiline-description/input.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
openapi: 3.0.0
info:
title: Test API
version: 1.0.0
description: Original description
paths:
/test:
get:
description: Old path description
responses:
'200':
description: OK
3 changes: 3 additions & 0 deletions test/overlay-multiline-description/options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
overlayFile: overlay.yaml
output: output.yaml
no-sort: true
18 changes: 18 additions & 0 deletions test/overlay-multiline-description/output.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
openapi: 3.0.0
info:
title: Test API
version: 1.0.0
description: |-
First line of markdown content.
Second line of markdown content.
paths:
/test:
get:
description: |-
Path description line 1.
Path description line 2.
responses:
'200':
description: OK
13 changes: 13 additions & 0 deletions test/overlay-multiline-description/overlay.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
actions:
- target: $.info
update:
description: |-
First line of markdown content.
Second line of markdown content.
- target: $.paths['/test'].get
update:
description: |-
Path description line 1.
Path description line 2.