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.
1 parent cac3b08 commit f3f787cCopy full SHA for f3f787c
src/ExampleGenerator.js
@@ -1278,7 +1278,7 @@ export class ExampleGenerator extends AmfHelperMixin(Object) {
1278
let value
1279
const anyOf = this._ensureArray(range[aKey]);
1280
if(anyOf){
1281
- for(let anyOfIndex=0; i<anyOf.length; anyOfIndex++) {
+ for(let anyOfIndex=0; anyOfIndex<anyOf.length; anyOfIndex++) {
1282
const exampleValue = this._computeJsonPropertyValue(anyOf[anyOfIndex]);
1283
if(exampleValue!==null){
1284
value = exampleValue;
0 commit comments