Comments (3)
This rule (https://quobix.com/vacuum/rules/tags/operation-tag-defined/) is based on this rule from spectral: https://meta.stoplight.io/docs/spectral/4dec24461f3af-open-api-rules#operation-tag-defined
It's more of an opinion rather than anything. If there are tags defined globally, why are they not used? its the same as orphaned components/schemas.
I don't think this is a bug, but I would be OK with dropping it to a warning by default, it's an opinion being expressed (rather harshly) but still, it's taking a stand on clean/tuned specs.
from vacuum.
Thanks for explaining the logic, a warning would be preferred as the spec does not specify that root level tags MUST or SHALL include all operation tags
from vacuum.
Docs have been updated: https://quobix.com/vacuum/rules/tags/operation-tag-defined/
Rule severity is reflected in v0.0.46
of vacuum.
from vacuum.
Related Issues (20)
- add test files? How to debug? HOT 2
- wrong command line silently fails HOT 4
- Feature Request : Capacity to bundle spec into a single one
- spectral rules looks not working correctly HOT 1
- Different result for a given spec/rule than spectral HOT 1
- Error logs are printed when the JSON report is generated. HOT 2
- Path in SpectralReport is `null` HOT 2
- Dashboard not working with Docker under WSL ubuntu HOT 1
- lint --fail-severity parameters missing in documentation HOT 3
- Random crashes for specification with circular references HOT 5
- `oas3-schema` rule returning invalid error for `$ref` in path-items HOT 2
- regression in handling of circular references HOT 4
- regression in `path-params` rule, complains about missing path params that are valid
- oas3-valid-schema-example Rule passes with invalid example object HOT 3
- Infinite loop with `$` in component HOT 4
- Feature : Error Management / Exception capability
- owasp linting flags false positives when properties are out of expected sequence HOT 3
- Online Version : OWASP check or not Display HOT 4
- Vacuum seems to try to load unrelated files HOT 8
- "oas3-valid-schema-example" should be split HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vacuum.