You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versions/1.0.0.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ This object MAY be extended with [Specification Extensions](#specification-exten
130
130
131
131
### Examples
132
132
133
-
#### Structured Overlays Example
133
+
#### Structured Overlay Example
134
134
135
135
When updating properties throughout the target document it may be more efficient to create a single `Action Object` that mirrors the structure of the target document. e.g.
136
136
@@ -158,14 +158,14 @@ actions:
158
158
tags:
159
159
```
160
160
161
-
#### Targeted Overlays
161
+
#### Targeted Overlay Example
162
162
163
163
Alternatively, where only a small number of updates need to be applied to a large document, each [Action Object](#action-object) MAY be more targeted.
164
164
165
165
```yaml
166
166
overlay: 1.0.0
167
167
info:
168
-
title: Targeted Overlays
168
+
title: Targeted Overlay
169
169
version: 1.0.0
170
170
actions:
171
171
- target: $.paths['/foo'].get
@@ -181,7 +181,7 @@ actions:
181
181
x-safe: false
182
182
```
183
183
184
-
#### Wildcard Overlays Examples
184
+
#### Wildcard Overlay Example
185
185
186
186
One significant advantage of using the JSONPath syntax is that it allows referencing multiple nodes in the target document. This would allow a single update object to be applied to multiple target objects using wildcards and other multi-value selectors.
187
187
@@ -200,7 +200,7 @@ actions:
200
200
$ref: '/components/schemas/filterSchema'
201
201
```
202
202
203
-
#### Array Modification Examples
203
+
#### Array Modification Example
204
204
205
205
Array elements MAY be deleted using the `remove` property. Use of array indexes to remove array items should be avoided where possible as indexes will change when items are removed.
0 commit comments