#OAS
https://swagger.io/docs/specification/authentication/
`components`配下に`securitySchemes`を定義。
```yaml
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
```
今回はAPIごとに個別で設定したいので...
```yaml
path:
yourpath:
get:
security:
- BearerAuth: []
```
## 参考
- [OpenAPI \(Swagger\) 3\.0 で Bearer トークンの使用を定義する \| Articles \| Riotz\.works](https://riotz.works/articles/lopburny/2019/08/17/describe-bearer-scheme-in-openapi-3/)