Skip to content

Commit f3f787c

Browse files
fix(w-14278539): example nested objects
1 parent cac3b08 commit f3f787c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExampleGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ export class ExampleGenerator extends AmfHelperMixin(Object) {
12781278
let value
12791279
const anyOf = this._ensureArray(range[aKey]);
12801280
if(anyOf){
1281-
for(let anyOfIndex=0; i<anyOf.length; anyOfIndex++) {
1281+
for(let anyOfIndex=0; anyOfIndex<anyOf.length; anyOfIndex++) {
12821282
const exampleValue = this._computeJsonPropertyValue(anyOf[anyOfIndex]);
12831283
if(exampleValue!==null){
12841284
value = exampleValue;

0 commit comments

Comments
 (0)