File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -465,7 +465,8 @@ func TestTransformNullableSchema_NullableAllOf(t *testing.T) {
465465 "properties" : map [string ]interface {}{
466466 "id" : map [string ]interface {}{
467467 "type" : "string" ,
468- }},
468+ },
469+ },
469470 },
470471 },
471472 "nullable" : true ,
@@ -495,7 +496,8 @@ func TestTransformNullableSchema_NullableAllOf(t *testing.T) {
495496 "properties" : map [string ]interface {}{
496497 "id" : map [string ]interface {}{
497498 "type" : "string" ,
498- }},
499+ },
500+ },
499501 },
500502 },
501503 })
@@ -516,7 +518,8 @@ func TestTransformNullableSchema_NullableAllOfWithExistingOneOf(t *testing.T) {
516518 "properties" : map [string ]interface {}{
517519 "id" : map [string ]interface {}{
518520 "type" : "string" ,
519- }},
521+ },
522+ },
520523 },
521524 },
522525 "oneOf" : []interface {}{
@@ -526,7 +529,8 @@ func TestTransformNullableSchema_NullableAllOfWithExistingOneOf(t *testing.T) {
526529 "id" : map [string ]interface {}{
527530 "type" : "string" ,
528531 "const" : []any {"val" },
529- }},
532+ },
533+ },
530534 },
531535 },
532536 "nullable" : true ,
@@ -556,7 +560,8 @@ func TestTransformNullableSchema_NullableAllOfWithExistingOneOf(t *testing.T) {
556560 "properties" : map [string ]interface {}{
557561 "id" : map [string ]interface {}{
558562 "type" : "string" ,
559- }},
563+ },
564+ },
560565 },
561566 },
562567 })
@@ -569,7 +574,8 @@ func TestTransformNullableSchema_NullableAllOfWithExistingOneOf(t *testing.T) {
569574 "id" : map [string ]interface {}{
570575 "type" : "string" ,
571576 "const" : []any {"val" },
572- }},
577+ },
578+ },
573579 })
574580
575581 _ , hasNullable := result ["nullable" ]
You can’t perform that action at this time.
0 commit comments