Describe the bug
The https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md#operation-object-example example describes the security field as
"security": [
{
"petstore_auth": [
"write:pets",
"read:pets"
]
}
],
But none of the Security Schemas match that definition. Based on the format, I may guess the correct example should be:
"security": [
{
"type": "openIdConnect",
"openIdConnectUrl": "https://example.com/.well-known/openid-configuration",
"scopes": [
"write:pets",
"read:pets"
]
}
],
Another alternative would be "type": "oauth2" but then the example would be more complex.
Describe the bug
The https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md#operation-object-example example describes the
securityfield asBut none of the Security Schemas match that definition. Based on the format, I may guess the correct example should be:
Another alternative would be
"type": "oauth2"but then the example would be more complex.