We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3004221 commit 8c14866Copy full SHA for 8c14866
1 file changed
tests/data/issue/242/multiple_auth.yml
@@ -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
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