User story.
As a user I want to know if the operation has the correct security defined (that given security key has reference to the schemes defined in the components.securitySchemes).
Is your feature request related to a problem?
The following AsyncAPI document is invalid and Spectral should throw errors due to not defined security schemes inside one of operation:
asyncapi: '2.0.0',
channels:
'user/signup':
publish:
security:
- not_defined: []
components:
securitySchemes:
petstore_auth:
...
Additional context
Part of #2100
User story.
As a user I want to know if the operation has the correct security defined (that given security key has reference to the schemes defined in the
components.securitySchemes).Is your feature request related to a problem?
The following AsyncAPI document is invalid and Spectral should throw errors due to not defined security schemes inside one of operation:
Additional context
Part of #2100