File tree Expand file tree Collapse file tree 6 files changed +26
-6
lines changed Expand file tree Collapse file tree 6 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 420
420
},
421
421
"tests" : [
422
422
{
423
- "description" : " do not evaluate the $ref inside the enum" ,
423
+ "description" : " do not evaluate the $ref inside the enum, matching any string " ,
424
424
"data" : " this is a string" ,
425
425
"valid" : false
426
426
},
427
+ {
428
+ "description" : " do not evaluate the $ref inside the enum, definition exact match" ,
429
+ "data" : { "type" : " string" },
430
+ "valid" : false
431
+ },
427
432
{
428
433
"description" : " match the enum exactly" ,
429
434
"data" : { "$ref" : " #/$defs/a_string" },
Original file line number Diff line number Diff line change 422
422
},
423
423
"tests" : [
424
424
{
425
- "description" : " do not evaluate the $ref inside the enum" ,
425
+ "description" : " do not evaluate the $ref inside the enum, matching any string " ,
426
426
"data" : " this is a string" ,
427
427
"valid" : false
428
428
},
429
+ {
430
+ "description" : " do not evaluate the $ref inside the enum, definition exact match" ,
431
+ "data" : { "type" : " string" },
432
+ "valid" : false
433
+ },
429
434
{
430
435
"description" : " match the enum exactly" ,
431
436
"data" : { "$ref" : " #/$defs/a_string" },
Original file line number Diff line number Diff line change 228
228
},
229
229
"tests" : [
230
230
{
231
- "description" : " do not evaluate the $ref inside the enum" ,
231
+ "description" : " do not evaluate the $ref inside the enum, matching any string " ,
232
232
"data" : " this is a string" ,
233
233
"valid" : false
234
234
},
Original file line number Diff line number Diff line change 447
447
},
448
448
"tests" : [
449
449
{
450
- "description" : " do not evaluate the $ref inside the enum" ,
450
+ "description" : " do not evaluate the $ref inside the enum, matching any string " ,
451
451
"data" : " this is a string" ,
452
452
"valid" : false
453
453
},
Original file line number Diff line number Diff line change 479
479
},
480
480
"tests" : [
481
481
{
482
- "description" : " do not evaluate the $ref inside the enum" ,
482
+ "description" : " do not evaluate the $ref inside the enum, matching any string " ,
483
483
"data" : " this is a string" ,
484
484
"valid" : false
485
485
},
486
+ {
487
+ "description" : " do not evaluate the $ref inside the enum, definition exact match" ,
488
+ "data" : { "type" : " string" },
489
+ "valid" : false
490
+ },
486
491
{
487
492
"description" : " match the enum exactly" ,
488
493
"data" : { "$ref" : " #/definitions/a_string" },
Original file line number Diff line number Diff line change 479
479
},
480
480
"tests" : [
481
481
{
482
- "description" : " do not evaluate the $ref inside the enum" ,
482
+ "description" : " do not evaluate the $ref inside the enum, matching any string " ,
483
483
"data" : " this is a string" ,
484
484
"valid" : false
485
485
},
486
+ {
487
+ "description" : " do not evaluate the $ref inside the enum, definition exact match" ,
488
+ "data" : { "type" : " string" },
489
+ "valid" : false
490
+ },
486
491
{
487
492
"description" : " match the enum exactly" ,
488
493
"data" : { "$ref" : " #/definitions/a_string" },
You can’t perform that action at this time.
0 commit comments