adonis-autoswagger icon indicating copy to clipboard operation
adonis-autoswagger copied to clipboard

"json.properties is not iterable" error when generating

Open oanylund opened this issue 1 year ago • 0 comments

json.properties is not iterable
          at ValidatorParser.parseSchema (/.../node_modules/adonis-autoswagger/dist/parsers.js:705:29)

This seems to be introduced with the new validator feature. looking at the json object there is an each property that has a properties array. If i patch the code to use the each property, it generates successfully

Adonis core version: 6.12.0 Vine version: 2.1.0

oanylund avatar Jun 25 '24 07:06 oanylund