Skip to content

Commit 909cfc5

Browse files
committed
invalid security stuff
More invalid security scheme objects
1 parent 3baeb67 commit 909cfc5

File tree

2 files changed

+93
-0
lines changed

2 files changed

+93
-0
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
security:
6+
- true
7+
- basic: true
8+
- apiKey: [true]
9+
components:
10+
securitySchemes:
11+
no-object: true
12+
no-type:
13+
typo: noauth3
14+
invalid-type:
15+
type: invalid
16+
invalid-description:
17+
type: http
18+
description: 42
19+
deprecated: yes
20+
apiKey-invalid-name:
21+
type: apiKey
22+
name: 42
23+
apiKey-invalid-in:
24+
type: apiKey
25+
name: invalid-in
26+
in: garbage
27+
http-no-scheme:
28+
type: http
29+
http-invalid-scheme:
30+
type: http
31+
scheme: 42
32+
barer-invalid-bearerFormat:
33+
type: http
34+
scheme: bearer
35+
bearerFormat: 42
36+
oauth2-no-flows:
37+
type: oauth2
38+
oauth2-invalid-oauth2MetadataUrl:
39+
type: oauth2
40+
oauth2MetadataUrl: 42
41+
openIdConnect-no-openIdConnectUrl:
42+
type: openIdConnect
43+
openIdConnect-invalid-openIdConnectUrl:
44+
type: openIdConnect
45+
openIdConnectUrl: true
46+
oauth-invalid-flows:
47+
type: oauth2
48+
flows: false
49+
oauth-invalid-flow-no-objects:
50+
type: oauth2
51+
flows:
52+
implicit: false
53+
password: false
54+
clientCredentials: false
55+
authorizationCode: false
56+
deviceAuthorization: false
57+
oauth-invalid-flow-objects:
58+
type: oauth2
59+
flows:
60+
implicit:
61+
authorizationUrl: 42
62+
refreshUrl: 42
63+
password:
64+
tokenUrl: 42
65+
refreshUrl: 42
66+
clientCredentials:
67+
tokenUrl: 42
68+
refreshUrl: 42
69+
authorizationCode:
70+
authorizationUrl: 42
71+
tokenUrl: 42
72+
refreshUrl: 42
73+
deviceAuthorization:
74+
deviceAuthorizationUrl: 42
75+
tokenUrl: 42
76+
refreshUrl: 42
77+
oauth-invalid-scopes:
78+
type: oauth2
79+
flows:
80+
implicit:
81+
authorizationUrl: 42
82+
refreshUrl: 42
83+
scopes: 42
84+
password:
85+
tokenUrl: 42
86+
refreshUrl: 42
87+
scopes:
88+
invalid: 42
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
security: true

0 commit comments

Comments
 (0)