We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
example
1 parent 20958c1 commit 5f4a673Copy full SHA for 5f4a673
src/specmap/helpers.js
@@ -37,7 +37,8 @@ const freelyNamedPaths = [
37
//
38
// Warning! These are powerful. Beware of edge cases.
39
const freelyNamedAncestors = [
40
- 'schema/example'
+ 'schema/example',
41
+ 'items/example',
42
]
43
44
export function isFreelyNamed(parentPath) {
test/specmap/refs.js
@@ -434,6 +434,9 @@ describe('refs', () => {
434
display: {
435
type: 'string'
436
}
437
+ },
438
+ example: {
439
+ $ref: '#/whatever'
440
441
442
0 commit comments