Replies: 2 comments
-
Hi, There are two items to discuss, one is the nested files. There is a new It's perfectly fine to use nested files, The second item is should a bad document pass? I actually think this is a bug, those path errors are returned There is a topic on this here: #351 (comment) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. I browsed through the issue you referenced, and it covers a lot of what I have run into while troubleshooting with various combinations of I'll close this discussion in the meantime. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is issue-worthy, so I figured I'd start here with a discussion. I've created a minimal test here: https://github.com/jrudder/vacuum-test
When linting the nested file structure, vacuum reports errors but also states linting passed with a perfect score. See below for example output. I did a little digging and found that the error comes from
libopenapi
(specifically here: https://github.com/pb33f/libopenapi/blob/8b9ef11270d01593fb1afa501f0384ca9a59df0a/datamodel/low/v3/paths.go#L158). But that's as far as I could go at this point.My questions:
libopenapi
errors in general? (Or perhaps, they should be automatically suppressed by vacuum if linting succeeds?)test_files
for inspiration but didn't see an example using subdirs.)Beta Was this translation helpful? Give feedback.
All reactions