Skip to content

Commit 6c85d66

Browse files
committed
invalid components and tags
1 parent 909cfc5 commit 6c85d66

File tree

3 files changed

+201
-0
lines changed

3 files changed

+201
-0
lines changed
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
tags:
6+
- true
7+
- summary: true
8+
- name: true
9+
description: true
10+
externalDocs: true
11+
parent: true
12+
kind: true
13+
- name: foo
14+
externalDocs:
15+
url: true
16+
- name: bar
17+
externalDocs:
18+
description: true
19+
components:
20+
pathItems:
21+
ö: true
22+
invalid:
23+
$ref: 42
24+
summary: true
25+
description: true
26+
servers: true
27+
parameters: true
28+
additionalOperations: none
29+
invalid-additionalOperations:
30+
additionalOperations:
31+
ö: true
32+
invalid-operations:
33+
get:
34+
tags: true
35+
summary: true
36+
description: true
37+
operationId: true
38+
parameters: true
39+
callbacks: true
40+
deprecated: maybe
41+
security: no
42+
servers: none
43+
patch: false
44+
invalid-responses:
45+
get:
46+
tags: [true]
47+
responses: false
48+
patch:
49+
responses: {}
50+
requestBodies:
51+
no-object: true
52+
invalid:
53+
description: true
54+
required: no
55+
parameters:
56+
no-object: true
57+
no-in:
58+
name: id
59+
schema:
60+
type: string
61+
invalid:
62+
name: 42
63+
in: invalid
64+
description: true
65+
required: no
66+
deprecated: no
67+
content: {}
68+
invalid-content:
69+
name: id
70+
content:
71+
one: true
72+
two: false
73+
invalid-querystring:
74+
name: id
75+
in: querystring
76+
optional-path:
77+
name: id
78+
in: path
79+
schema:
80+
type: string
81+
required: false
82+
invalid-path:
83+
name: id
84+
in: path
85+
schema:
86+
type: string
87+
style: invalid
88+
allowReserved: yes
89+
invalid-header:
90+
name: id
91+
in: header
92+
schema:
93+
type: string
94+
style: 42
95+
invalid-query:
96+
name: id
97+
in: query
98+
schema:
99+
type: string
100+
style: invalid
101+
allowEmptyValue: yes
102+
invalid-cookie:
103+
name: id
104+
in: cookie
105+
schema:
106+
type: string
107+
style: invalid
108+
invalid-examples:
109+
name: id
110+
in: query
111+
schema:
112+
type: string
113+
examples: true
114+
explode: 42
115+
callbacks:
116+
no-object: true
117+
invalid:
118+
foo: true
119+
links:
120+
no-object: true
121+
invalid:
122+
description: true
123+
operationId: true
124+
operationRef: true
125+
parameters: true
126+
requestBody: true
127+
responses: true
128+
server: true
129+
servers: true
130+
deprecated: no
131+
headers:
132+
no-object: true
133+
invalid:
134+
description: true
135+
required: yes
136+
deprecated: no
137+
content: {}
138+
invalid-content:
139+
content:
140+
one: true
141+
two: false
142+
invalid-style:
143+
schema:
144+
type: string
145+
style: true
146+
explode: no
147+
allowReserved: yes
148+
examples:
149+
no-object: true
150+
invalid-reference:
151+
$ref: 42
152+
summary: false
153+
description: true
154+
invalid:
155+
summary: true
156+
description: true
157+
externalValue: true
158+
responses:
159+
no-object: true
160+
invalid:
161+
summary: true
162+
description: true
163+
headers: true
164+
links: true
165+
content: true
166+
invalid-encoding:
167+
content:
168+
'application/json':
169+
encoding: true
170+
invalid-encoding-object:
171+
content:
172+
'application/json':
173+
encoding:
174+
foo: true
175+
bar:
176+
contentType: true
177+
headers: true
178+
style: true
179+
explode: yes
180+
allowReserved: no
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
paths: true
6+
components:
7+
schemas: true
8+
responses: true
9+
parameters: true
10+
examples: true
11+
requestBodies: true
12+
headers: true
13+
securitySchemes: true
14+
links: true
15+
callbacks: true
16+
pathItems: true
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+
components: true

0 commit comments

Comments
 (0)