daveshanley / vacuum

vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.
https://quobix.com/vacuum
MIT License
490 stars 39 forks source link

warning on array sample is may be overhelming #410

Open LasneF opened 5 months ago

LasneF commented 5 months ago

Given the attached files

vaccum returns 2 warning vs it s a bit corner case as :

*sample of items if sample of the array is provided

=> the sample is privided inside the $ref

not sure for both use case if it really makes sent

Here the data to showcase .

small.json

this is samll sample, but adding them would be a kind of duplicate