@@ -6,8 +6,7 @@ required:
6
6
properties :
7
7
openapi :
8
8
type : string
9
- enum :
10
- - 3.0.0
9
+ pattern : ^3\.0\.\d(-.+)?$
11
10
info :
12
11
$ref : ' #/definitions/Info'
13
12
externalDocs :
@@ -34,10 +33,12 @@ additionalProperties: false
34
33
definitions :
35
34
Reference :
36
35
type : object
36
+ required :
37
+ - $ref
37
38
properties :
38
39
$ref :
39
40
type : string
40
- format : uri-ref
41
+ format : uriref
41
42
Info :
42
43
type : object
43
44
required :
@@ -50,7 +51,7 @@ definitions:
50
51
type : string
51
52
termsOfService :
52
53
type : string
53
- format : uri-ref
54
+ format : uriref
54
55
contact :
55
56
$ref : ' #/definitions/Contact'
56
57
license :
@@ -69,7 +70,7 @@ definitions:
69
70
type : string
70
71
url :
71
72
type : string
72
- format : uri-ref
73
+ format : uriref
73
74
email :
74
75
type : string
75
76
format : email
@@ -86,7 +87,7 @@ definitions:
86
87
type : string
87
88
url :
88
89
type : string
89
- format : uri-ref
90
+ format : uriref
90
91
patternProperties :
91
92
' ^x- ' : {}
92
93
additionalProperties : false
@@ -98,7 +99,7 @@ definitions:
98
99
properties :
99
100
url :
100
101
type : string
101
- format : uri-ref
102
+ format : uriref
102
103
description :
103
104
type : string
104
105
variables :
@@ -254,31 +255,57 @@ definitions:
254
255
type :
255
256
type : string
256
257
enum :
257
- - array
258
- - boolean
259
- - integer
260
- - number
261
- - object
262
- - string
258
+ - array
259
+ - boolean
260
+ - integer
261
+ - number
262
+ - object
263
+ - string
263
264
not :
264
- $ref : ' #/definitions/Schema'
265
+ oneOf :
266
+ - $ref : ' #/definitions/Schema'
267
+ - $ref : ' #/definitions/Reference'
268
+ allOf :
269
+ type : array
270
+ items :
271
+ oneOf :
272
+ - $ref : ' #/definitions/Schema'
273
+ - $ref : ' #/definitions/Reference'
274
+ oneOf :
275
+ type : array
276
+ items :
277
+ oneOf :
278
+ - $ref : ' #/definitions/Schema'
279
+ - $ref : ' #/definitions/Reference'
280
+ anyOf :
281
+ type : array
282
+ items :
283
+ oneOf :
284
+ - $ref : ' #/definitions/Schema'
285
+ - $ref : ' #/definitions/Reference'
286
+ items :
287
+ type : array
288
+ items :
289
+ oneOf :
290
+ - $ref : ' #/definitions/Schema'
291
+ - $ref : ' #/definitions/Reference'
265
292
properties :
266
293
type : object
267
294
additionalProperties :
268
- $ref : ' #/definitions/Schema'
295
+ oneOf :
296
+ - $ref : ' #/definitions/Schema'
297
+ - $ref : ' #/definitions/Reference'
269
298
additionalProperties :
270
299
oneOf :
271
300
- $ref : ' #/definitions/Schema'
301
+ - $ref : ' #/definitions/Reference'
272
302
- type : boolean
273
303
default : true
274
304
description :
275
305
type : string
276
306
format :
277
307
type : string
278
308
default : {}
279
- $ref :
280
- type : string
281
- format : uri-ref
282
309
nullable :
283
310
type : boolean
284
311
default : false
@@ -327,7 +354,7 @@ definitions:
327
354
attribute :
328
355
type : boolean
329
356
default : false
330
- wrapperd :
357
+ wrapped :
331
358
type : boolean
332
359
default : false
333
360
patternProperties :
@@ -383,6 +410,8 @@ definitions:
383
410
384
411
MediaTypeWithExamples :
385
412
type : object
413
+ required :
414
+ - examples
386
415
properties :
387
416
schema :
388
417
oneOf :
@@ -409,17 +438,28 @@ definitions:
409
438
type : string
410
439
description :
411
440
type : string
412
- value :
413
- type : string
441
+ value : {}
414
442
externalValue :
415
443
type : string
416
- format : uri-ref
444
+ format : uriref
417
445
patternProperties :
418
446
' ^x- ' : {}
419
447
additionalProperties : false
420
448
421
449
Header :
450
+ oneOf :
451
+ - $ref : ' #/definitions/HeaderWithSchema'
452
+ - $ref : ' #/definitions/HeaderWithContent'
453
+
454
+ HeaderWithSchema :
455
+ oneOf :
456
+ - $ref : ' #/definitions/HeaderWithSchemaWithExample'
457
+ - $ref : ' #/definitions/HeaderWithSchemaWithExamples'
458
+
459
+ HeaderWithSchemaWithExample :
422
460
type : object
461
+ required :
462
+ - schema
423
463
properties :
424
464
description :
425
465
type : string
@@ -439,24 +479,81 @@ definitions:
439
479
default : simple
440
480
explode :
441
481
type : boolean
482
+ allowReserved :
483
+ type : boolean
484
+ default : false
485
+ schema :
486
+ oneOf :
487
+ - $ref : ' #/definitions/Schema'
488
+ - $ref : ' #/definitions/Reference'
489
+ example : {}
490
+ patternProperties :
491
+ ' ^x- ' : {}
492
+ additionalProperties : false
493
+
494
+ HeaderWithSchemaWithExamples :
495
+ type : object
496
+ required :
497
+ - schema
498
+ - examples
499
+ properties :
500
+ description :
501
+ type : string
502
+ required :
503
+ type : boolean
504
+ default : false
505
+ deprecated :
506
+ type : boolean
507
+ default : false
508
+ allowEmptyValue :
509
+ type : boolean
510
+ default : false
511
+ style :
512
+ type : string
442
513
enum :
443
- - false
514
+ - simple
515
+ default : simple
516
+ explode :
517
+ type : boolean
518
+ allowReserved :
519
+ type : boolean
444
520
default : false
445
521
schema :
446
522
oneOf :
447
523
- $ref : ' #/definitions/Schema'
448
524
- $ref : ' #/definitions/Reference'
449
525
examples :
450
- type : array
451
- items :
526
+ type : object
527
+ additionalProperties :
452
528
oneOf :
453
529
- $ref : ' #/definitions/Example'
454
530
- $ref : ' #/definitions/Reference'
455
- example : {}
531
+ patternProperties :
532
+ ' ^x- ' : {}
533
+ additionalProperties : false
534
+
535
+ HeaderWithContent :
536
+ type : object
537
+ required :
538
+ - content
539
+ properties :
540
+ description :
541
+ type : string
542
+ required :
543
+ type : boolean
544
+ default : false
545
+ deprecated :
546
+ type : boolean
547
+ default : false
548
+ allowEmptyValue :
549
+ type : boolean
550
+ default : false
456
551
content :
457
552
type : object
458
553
additionalProperties :
459
554
$ref : ' #/definitions/MediaType'
555
+ minProperties : 1
556
+ maxProperties : 1
460
557
patternProperties :
461
558
' ^x- ' : {}
462
559
additionalProperties : false
@@ -557,8 +654,6 @@ definitions:
557
654
additionalProperties : false
558
655
559
656
Responses :
560
- allOf :
561
- - $ref : ' #/definitions/Extensions'
562
657
type : object
563
658
properties :
564
659
default :
@@ -577,6 +672,7 @@ definitions:
577
672
type : object
578
673
patternProperties :
579
674
' ^x- ' : {}
675
+ additionalProperties : false
580
676
581
677
582
678
SecurityRequirement :
@@ -610,7 +706,7 @@ definitions:
610
706
type : string
611
707
url :
612
708
type : string
613
- format : uri-ref
709
+ format : uriref
614
710
patternProperties :
615
711
' ^x- ' : {}
616
712
additionalProperties : false
@@ -825,6 +921,7 @@ definitions:
825
921
- in
826
922
- schema
827
923
- required
924
+ - examples
828
925
properties :
829
926
name :
830
927
type : string
@@ -876,6 +973,7 @@ definitions:
876
973
- name
877
974
- in
878
975
- schema
976
+ - examples
879
977
properties :
880
978
name :
881
979
type : string
@@ -927,6 +1025,7 @@ definitions:
927
1025
- name
928
1026
- in
929
1027
- schema
1028
+ - examples
930
1029
properties :
931
1030
name :
932
1031
type : string
@@ -975,6 +1074,7 @@ definitions:
975
1074
- name
976
1075
- in
977
1076
- schema
1077
+ - examples
978
1078
properties :
979
1079
name :
980
1080
type : string
@@ -1187,8 +1287,8 @@ definitions:
1187
1287
type : string
1188
1288
type :
1189
1289
type : string
1190
- enum :
1191
- - http
1290
+ enum :
1291
+ - http
1192
1292
description :
1193
1293
type : string
1194
1294
patternProperties :
@@ -1255,10 +1355,10 @@ definitions:
1255
1355
properties :
1256
1356
authorizationUrl :
1257
1357
type : string
1258
- format : uri-ref
1358
+ format : uriref
1259
1359
refreshUrl :
1260
1360
type : string
1261
- format : uri-ref
1361
+ format : uriref
1262
1362
scopes :
1263
1363
type : object
1264
1364
additionalProperties :
@@ -1274,10 +1374,10 @@ definitions:
1274
1374
properties :
1275
1375
tokenUrl :
1276
1376
type : string
1277
- format : uri-ref
1377
+ format : uriref
1278
1378
refreshUrl :
1279
1379
type : string
1280
- format : uri-ref
1380
+ format : uriref
1281
1381
scopes :
1282
1382
type : object
1283
1383
additionalProperties :
@@ -1293,10 +1393,10 @@ definitions:
1293
1393
properties :
1294
1394
tokenUrl :
1295
1395
type : string
1296
- format : uri-ref
1396
+ format : uriref
1297
1397
refreshUrl :
1298
1398
type : string
1299
- format : uri-ref
1399
+ format : uriref
1300
1400
scopes :
1301
1401
type : object
1302
1402
additionalProperties :
@@ -1313,13 +1413,13 @@ definitions:
1313
1413
properties :
1314
1414
authorizationUrl :
1315
1415
type : string
1316
- format : uri-ref
1416
+ format : uriref
1317
1417
tokenUrl :
1318
1418
type : string
1319
- format : uri-ref
1419
+ format : uriref
1320
1420
refreshUrl :
1321
1421
type : string
1322
- format : uri-ref
1422
+ format : uriref
1323
1423
scopes :
1324
1424
type : object
1325
1425
additionalProperties :
@@ -1338,7 +1438,7 @@ definitions:
1338
1438
properties :
1339
1439
operationRef :
1340
1440
type : string
1341
- format : uri-ref
1441
+ format : uriref
1342
1442
parameters :
1343
1443
type : object
1344
1444
additionalProperties : {}
0 commit comments