add authorization to tests

This commit is contained in:
Philipp Rothmann 2022-11-07 13:41:39 +01:00
parent 95deb6a984
commit df3a2c0c48
4 changed files with 16 additions and 7 deletions

View file

@ -12,14 +12,14 @@ paths:
responses:
'200':
description: success
'403':
description: missing scope
'401':
description: not logged-in
components:
securitySchemes:
oauth2:
type: oauth2
in: header
name: Authorization
flows:
implicit:
authorizationUrl: http://localhost:3000/f/oauth/authorize