Skip to content

Commit 8c14866

Browse files
committed
Add more tests 2
1 parent 3004221 commit 8c14866

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
openapi: 3.0.0
2+
info:
3+
title: Multiple auth
4+
version: 1.0.0
5+
paths: {}
6+
components:
7+
securitySchemes:
8+
BasicAuth:
9+
type: http
10+
scheme: basic
11+
12+
BearerAuth:
13+
type: http
14+
scheme: bearer
15+
16+
ApiKeyAuth:
17+
type: apiKey
18+
in: header
19+
name: X-API-Key
20+
21+
OpenID:
22+
type: openIdConnect
23+
openIdConnectUrl: https://example.com/.well-known/openid-configuration
24+
25+
OAuth2:
26+
type: oauth2
27+
flows:
28+
authorizationCode:
29+
authorizationUrl: https://example.com/oauth/authorize
30+
tokenUrl: https://example.com/oauth/token
31+
scopes:
32+
read: Grants read access
33+
write: Grants write access
34+
admin: Grants access to admin operations
35+
security:
36+
- BasicAuth: []
37+
BearerAuth: []
38+
- ApiKeyAuth: []
39+
OAuth2: [read]

0 commit comments

Comments
 (0)