Skip to content

Commit 58a3c2a

Browse files
authored
Merge pull request #78 from ralfhandl/Align-example-section-titles
Align example section titles
2 parents fef7638 + 0a3e372 commit 58a3c2a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Overlays support a range of scenarios, including:
1111
- Allowing separation of concerns for metadata such as gateway configuration or SLA information
1212
- Supporting a traits-like capability for applying a set of configuration data, such as multiple parameters or multiple headers, for targeted objects
1313
- Providing default responses or parameters where they were not explicitly provided
14-
- Appling configuration data globally or based on filter conditions
14+
- Applying configuration data globally or based on filter conditions
1515

1616
## Tools that Support Overlays
1717

versions/1.0.0.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ This object MAY be extended with [Specification Extensions](#specification-exten
130130

131131
### Examples
132132

133-
#### Structured Overlays Example
133+
#### Structured Overlay Example
134134

135135
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.
136136

@@ -158,14 +158,14 @@ actions:
158158
tags:
159159
```
160160

161-
#### Targeted Overlays
161+
#### Targeted Overlay Example
162162

163163
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.
164164

165165
```yaml
166166
overlay: 1.0.0
167167
info:
168-
title: Targeted Overlays
168+
title: Targeted Overlay
169169
version: 1.0.0
170170
actions:
171171
- target: $.paths['/foo'].get
@@ -181,7 +181,7 @@ actions:
181181
x-safe: false
182182
```
183183

184-
#### Wildcard Overlays Examples
184+
#### Wildcard Overlay Example
185185

186186
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.
187187

@@ -200,7 +200,7 @@ actions:
200200
$ref: '/components/schemas/filterSchema'
201201
```
202202

203-
#### Array Modification Examples
203+
#### Array Modification Example
204204

205205
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.
206206

0 commit comments

Comments
 (0)