You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/specs/real-world/known-errors.js
+120Lines changed: 120 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,126 @@ function getKnownApiErrors () {
164
164
error: "has a file parameter, so it must consume multipart/form-data or application/x-www-form-urlencoded",
165
165
whatToDo: "ignore",
166
166
},
167
+
// more errors
168
+
{
169
+
api: 'akeneo.com',
170
+
error: 'Token "parent" does not exist.',
171
+
whatToDo: 'ignore'
172
+
},
173
+
{
174
+
api: 'api.video',
175
+
error: 'Token "expiresAt" does not exist.',
176
+
whatToDo: 'ignore'
177
+
},
178
+
{
179
+
api: 'avaza.com',
180
+
error: 'Validation failed. /paths/api/Expense/Attachment/post has a file parameter, so it must consume multipart/form-data or application/x-www-form-urlencoded',
181
+
whatToDo: 'ignore'
182
+
},
183
+
{
184
+
api: 'bluemix.net:containers',
185
+
error: 'Swagger schema validation failed. \n'+
186
+
" Data does not match any schemas from 'oneOf' at #/paths//build/post/parameters/6\n"+
187
+
" Data does not match any schemas from 'oneOf' at #/paths//build/post/parameters/6\n"+
188
+
' Missing required property: schema at #/\n'+
189
+
" Data does not match any schemas from 'oneOf' at #/\n"+
190
+
' No enum match for: file at #/type\n'+
191
+
' No enum match for: body at #/in\n'+
192
+
' No enum match for: file at #/type\n'+
193
+
' No enum match for: file at #/type\n'+
194
+
' Missing required property: $ref at #/paths//build/post/parameters/6\n'+
195
+
' \n'+
196
+
'JSON_OBJECT_VALIDATION_FAILED',
197
+
whatToDo: 'ignore'
198
+
},
199
+
{
200
+
api: 'box.com',
201
+
error: 'Token "x-box-tag" does not exist.',
202
+
whatToDo: 'ignore'
203
+
},
204
+
{
205
+
api: 'circuitsandbox.net',
206
+
error: 'Swagger schema validation failed. \n'+
207
+
' Additional properties not allowed: securityDefinitions at #/\n'+
208
+
' \n'+
209
+
'JSON_OBJECT_VALIDATION_FAILED',
210
+
whatToDo: 'ignore'
211
+
},
212
+
{
213
+
api: 'clicksend.com',
214
+
error: 'Token "value" does not exist.',
215
+
whatToDo: 'ignore'
216
+
},
217
+
{
218
+
api: 'clubhouseapi.com',
219
+
error: 'Token "email" does not exist.',
220
+
whatToDo: 'ignore'
221
+
},
222
+
{
223
+
api: 'credas.co.uk:pi',
224
+
error: 'Token "middleName" does not exist.',
225
+
whatToDo: 'ignore'
226
+
},
227
+
{
228
+
api: 'dev.to',
229
+
error: 'Token "website_url" does not exist.',
230
+
whatToDo: 'ignore'
231
+
},
232
+
{
233
+
api: 'digitalocean.com',
234
+
error: 'Token "slug" does not exist.',
235
+
whatToDo: 'ignore'
236
+
},
237
+
{
238
+
api: 'docker.com:engine',
239
+
error: 'Token "2377/tcp" does not exist.',
240
+
whatToDo: 'ignore'
241
+
},
242
+
{
243
+
api: 'dracoon.team',
244
+
error: 'Token "errorCode" does not exist.',
245
+
whatToDo: 'ignore'
246
+
},
247
+
{
248
+
api: 'enode.io',
249
+
error: 'Swagger schema validation failed. \n'+
250
+
" Data does not match any schemas from 'oneOf' at #/paths//vehicles/get/parameters/0\n"+
251
+
" Data does not match any schemas from 'oneOf' at #/paths//vehicles/get/parameters/0/schema\n"+
252
+
" Data does not match any schemas from 'oneOf' at #/schema/items\n"+
253
+
' Additional properties not allowed: explode at #/items\n'+
254
+
' Missing required property: $ref at #/items\n'+
255
+
' Missing required property: $ref at #/schema\n'+
256
+
' Missing required property: $ref at #/paths//vehicles/get/parameters/0\n'+
257
+
' \n'+
258
+
'JSON_OBJECT_VALIDATION_FAILED',
259
+
whatToDo: 'ignore'
260
+
},
261
+
{
262
+
api: 'figshare.com',
263
+
error: 'Token "example" does not exist.',
264
+
whatToDo: 'ignore'
265
+
},
266
+
{
267
+
api: 'files.com',
268
+
error: 'Token "x-docs" does not exist.',
269
+
whatToDo: 'ignore'
270
+
},
271
+
{
272
+
api: 'formapi.io',
273
+
error: 'Token "value" does not exist.',
274
+
whatToDo: 'ignore'
275
+
},
276
+
{
277
+
api: 'frankiefinancial.io',
278
+
error: "Validation failed. Property 'rowid' listed as required but does not exist in '/definitions/UBOResponse'",
0 commit comments