I am having trouble in setting security schema in open api swagger spec in yaml.
I get below error while setting security schemas:
in paths I did use Bearerauth but still same issue:
paths:
/v1/items:
get:
tags:
- Item Resources
summary: searches items
security:
- BearerAuth: [adsfdf]
operationId: searchItems
description: |
Any suggestion on how to fix this issue, or there is any issue with implementation ?