Comments (1)
Docs specifically say here :
Unlike OAuth 2.0, you do not need to list the available scopes in securitySchemes
I guess disabling it like this is the only option to avoid this for now:
extends: ["spectral:oas"]
overrides:
- rules:
# This rule is misfiring for OIDC
# https://github.com/stoplightio/spectral/issues/2566
oas3-operation-security-defined: "off"
files:
- "**/*.yaml"
from spectral.
Related Issues (20)
- launch Spectral without a defined ruleset , should use default ruleset
- Include documentation URLs for built-in rulesets
- Rule overrides with file paths don't work HOT 2
- oas3-valid-media-example is reported for primitives if type is object
- Path property of error remains empty even if custom function provides some value
- Wrongly declared array not caught as error HOT 3
- Incorrect example validation on OpenAPI and examples vlaidation on AsyncAPI when using `allOf`.
- Ready to use Aliases to write rulesets
- Provide a solution for for fixing self-signed certificate errors in VSCode HOT 1
- Misbehaviour with Regex and numbers HOT 2
- operation-operationId-valid-in-url message needs small updates
- Error when generating SARIF report HOT 1
- False "oas3-valid-media-example" error reported: "property must match exactly one schema in oneOf"
- oas3-operation-security-defined scopes validation not using resolved securitySchemes
- The oas3-valid-media-example linter complains about using nullable type when using allOf. I am using the below example schema: HOT 1
- Unable to lint open api if it is wrapped by object
- Node.js 21+: DeprecationWarning: The `punycode` module is deprecated
- asyncapi asyncApi2SchemaValidation does not allow string examples for other schema types
- fix: Generated Assets suffix for CPU Architecture x64 is not correct HOT 2
- ReadOnly in synch with required raising an error on POST where it should not 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 spectral.