You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an extension issue. The behaviour of the Redocly CLI linter will be the same. Could you provide a link to the specification to clarify the correct behaviour?
Also, I'm getting never used warnings for all schemas in this case.
Our default rules are (mildly) opinionated, and if you don't supply a redocly.yaml to turn off the server or unused components rules you will see errors or warnings.
You can control with a configuration file.
Please re-open if you think I'm incorrectly closing this as "not a bug"...
What happened?
I'm getting an error mark in an yaml containing only components
What should have happened instead?
The missing server rule must be applied only when paths (or webhook?) are present.
Also, I'm getting
never used
warnings for all schemas in this case.Minimal reproducible OpenAPI snippet
If possible, include a short example of your OpenAPI definition that we can use to simulate the problem.
Screenshots
![image](https://private-user-images.githubusercontent.com/251734/286494513-d4513c8a-2e00-4a50-a8d1-058392cae0a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3OTM0OTksIm5iZiI6MTcxOTc5MzE5OSwicGF0aCI6Ii8yNTE3MzQvMjg2NDk0NTEzLWQ0NTEzYzhhLTJlMDAtNGE1MC1hOGQxLTA1ODM5MmNhZTBhOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMVQwMDE5NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03YTBiMGE3Njc2ZDBmN2VmNzAxNTQ5OGU1YzBhNmY0YmI5NTQ3ZTlmYmU4NDU1MzY4ZGNiMTE3NjdmNmU5ZTAwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.1dKKsgmZeP5b2OxahkHgDCOcqP39fC0FlSNMTsEG8yw)
Additional context
Release 0.3.3 (2023-11-16)
The text was updated successfully, but these errors were encountered: